instapi 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/instapi.rb +5 -1
  2. data/lib/instapi/version.rb +1 -1
  3. metadata +2 -2
@@ -19,7 +19,11 @@ class Instapi
19
19
  raise LoginError if @client.cookies.empty?
20
20
  @client
21
21
  end
22
- alias_method :login!, :client
22
+
23
+ def login!
24
+ client
25
+ self
26
+ end
23
27
 
24
28
  def add(url, options = {})
25
29
  get('/api/add', {:url => url, :username => username, :password => password}.merge(options))
@@ -1,3 +1,3 @@
1
1
  class Instapi
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: instapi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.4.0
5
+ version: 1.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - jugyo
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-25 00:00:00 Z
13
+ date: 2012-01-26 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httpclient