Skip to content

Commit

Permalink
Merge pull request #6 from jcohenho/refactor-configs-and-vcr
Browse files Browse the repository at this point in the history
Auto-load Net::Instagram and Net::Twitter
  • Loading branch information
claudiofullscreen committed Oct 20, 2014
2 parents e941bf4 + 40021d3 commit 589e33b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ If your code never calls the `followers_count` method on a `Twitter::User`, then
If it does, then replace your calls to `followers_count` with `follower_count` (singular).

* [ENHANCEMENT] Use the same `follower_count` name both for Twitter and Instagram users

## 0.2.1 - 2014-10-20

* [ENHANCEMENT] Requiring 'net' auto-loads Net::Twitter and Net::Instagram
2 changes: 2 additions & 0 deletions lib/net.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
require "net/version"
require "net/twitter"
require "net/instagram"

module Net
end
2 changes: 1 addition & 1 deletion lib/net/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Net
VERSION = "0.2.0"
VERSION = "0.2.1"
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
]
SimpleCov.start

require 'net'
Dir['./spec/support/**/*.rb'].each {|f| require f}
2 changes: 0 additions & 2 deletions spec/support/vcr.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
require 'webmock/rspec'
require 'vcr'
require 'net/twitter'
require 'net/instagram'

VCR.configure do |c|
c.configure_rspec_metadata!
Expand Down

0 comments on commit 589e33b

Please sign in to comment.