adn 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 518aadf5ddcdc8511065efd631cdba5b7116be0a
4
- data.tar.gz: b7216d37b02ff2cf0b745edfd9a3a7b080dba61e
3
+ metadata.gz: 0715657a3b265e580933b372751930d54908b59f
4
+ data.tar.gz: b13262da98d0ea76520601ab7a3b9c7ef13baa5c
5
5
  SHA512:
6
- metadata.gz: 0c44e509395ec3b2288f1fa6e812d71c13c76ccaf55a4c49eda585ad0d57f9cabba6741116c03efc5ffb5c52719a3cb3bc883a7377d4db24567f3ad2fd8ba8b7
7
- data.tar.gz: d30456cc7394ea2c5b017ce1a7bf36a671fb9a4282e56b5daba732cb10d31f05f2cbc2e9f0113859931dc09671e3549985e975033b72447890b094c7e67d4b91
6
+ metadata.gz: cd9199455951fdee9b538ba8a583f6820707069fbdc60c301c35b20b20e0714b5b6dc210ddef1f82945ccb05b8713d177401e28a2859f928bb3341d21a92ea6f
7
+ data.tar.gz: 35389ff3d96d647b59c18da66527853719ec81e741adbf3eab783da584033224bccea105b612800205181019eb0cc4197169c8c79cc3f412724208cb3c33c9f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ### Changelog
2
2
 
3
+ * **Version 0.3.9** (25 October 2014)
4
+ * Bugfix: Use of ADN.post/delete changed to ADN::API.post/delete
3
5
  * **Version 0.3.8** (31 December 2013)
4
6
  * Removed all style violations (cane --no-doc)
5
7
  * Added files to broadcast builder
data/lib/adn/user.rb CHANGED
@@ -30,13 +30,13 @@ module ADN
30
30
  # Followers/Users
31
31
 
32
32
  def follow(user)
33
- result = ADN.post("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/follow")
33
+ result = ADN::API.post("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/follow")
34
34
  ADN.create_instance(result["data"], User)
35
35
  end
36
36
 
37
37
  def unfollow(user)
38
38
  if user.valid_user?
39
- result = ADN.delete("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/follow")
39
+ result = ADN::API.delete("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/follow")
40
40
  ADN.create_instance(result["data"], User)
41
41
  end
42
42
  end
@@ -55,14 +55,14 @@ module ADN
55
55
 
56
56
  def mute(user)
57
57
  if user.valid_user?
58
- result = ADN.post("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/mute")
58
+ result = ADN::API.post("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/mute")
59
59
  ADN.create_instance(result["data"], User)
60
60
  end
61
61
  end
62
62
 
63
63
  def unmute(user)
64
64
  if user.valid_user?
65
- result = ADN.delete("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/mute")
65
+ result = ADN::API.delete("#{ADN::API_ENDPOINT_USERS}/#{user.user_id}/mute")
66
66
  ADN.create_instance(result["data"], User)
67
67
  end
68
68
  end
data/lib/adn/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module ADN
4
4
  MAJOR = 0
5
5
  MINOR = 3
6
- TINY = 8
6
+ TINY = 9
7
7
  VERSION = [MAJOR, MINOR, TINY].join('.')
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kishyr Ramdial
@@ -10,34 +10,34 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-12-31 00:00:00.000000000 Z
13
+ date: 2014-10-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multipart-post
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 1.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: 1.2.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: mime-types
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ~>
33
+ - - "~>"
34
34
  - !ruby/object:Gem::Version
35
35
  version: '2.0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '2.0'
43
43
  description: A simple and easy to use library to interact with App.net's API
@@ -49,8 +49,8 @@ executables: []
49
49
  extensions: []
50
50
  extra_rdoc_files: []
51
51
  files:
52
- - .gitignore
53
- - .travis.yml
52
+ - ".gitignore"
53
+ - ".travis.yml"
54
54
  - CHANGELOG.md
55
55
  - Gemfile
56
56
  - Gemfile.lock
@@ -103,17 +103,17 @@ require_paths:
103
103
  - lib
104
104
  required_ruby_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - '>='
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: 1.9.3
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - '>='
111
+ - - ">="
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubyforge_project:
116
- rubygems_version: 2.1.3
116
+ rubygems_version: 2.2.2
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: A Ruby library for App.net