yam 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.travis.yml +3 -0
- data/README.md +2 -0
- data/lib/yam/api.rb +2 -2
- data/lib/yam/connection.rb +2 -2
- data/lib/yam/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- data/yam.gemspec +6 -5
- metadata +46 -32
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
data/lib/yam/api.rb
CHANGED
@@ -16,9 +16,9 @@
|
|
16
16
|
# permissions and limitations under the License.
|
17
17
|
|
18
18
|
# API setup and configuration
|
19
|
-
require 'yam/request'
|
20
|
-
require 'yam/connection'
|
21
19
|
require 'yam/configuration'
|
20
|
+
require 'yam/connection'
|
21
|
+
require 'yam/request'
|
22
22
|
|
23
23
|
module Yam
|
24
24
|
class API
|
data/lib/yam/connection.rb
CHANGED
@@ -16,10 +16,10 @@
|
|
16
16
|
# permissions and limitations under the License.
|
17
17
|
|
18
18
|
require 'faraday'
|
19
|
-
require '
|
19
|
+
require 'faraday_middleware/request/oauth2'
|
20
20
|
require 'faraday_middleware/response/mashify'
|
21
21
|
require 'faraday_middleware/response/parse_json'
|
22
|
-
require '
|
22
|
+
require 'yam/constants'
|
23
23
|
|
24
24
|
module Yam
|
25
25
|
module Connection
|
data/lib/yam/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/yam.gemspec
CHANGED
@@ -7,8 +7,8 @@ require 'yam/version'
|
|
7
7
|
Gem::Specification.new do |gem|
|
8
8
|
gem.name = 'yam'
|
9
9
|
gem.version = Yam::VERSION
|
10
|
-
gem.authors = ['
|
11
|
-
gem.email = ['
|
10
|
+
gem.authors = ['Yammer team at thoughtbot']
|
11
|
+
gem.email = ['yammer@thoughtbot.com']
|
12
12
|
gem.description = %q{The official Yammer Ruby gem.}
|
13
13
|
gem.summary = %q{A Ruby wrapper for the Yammer REST API}
|
14
14
|
gem.homepage = %q{https://github.com/yammer/yam}
|
@@ -18,15 +18,16 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ['lib']
|
20
20
|
|
21
|
-
gem.add_dependency 'hashie', '~> 1.2.0'
|
22
21
|
gem.add_dependency 'faraday', '~> 0.8.1'
|
23
22
|
gem.add_dependency 'faraday_middleware', '~> 0.9.0'
|
23
|
+
gem.add_dependency 'hashie', '~> 1.2.0'
|
24
|
+
gem.add_dependency 'json', '~> 1.7.6'
|
24
25
|
gem.add_dependency 'multi_json', '~> 1.3'
|
25
26
|
gem.add_dependency 'oauth2', '~> 0.8.0'
|
26
27
|
|
28
|
+
gem.add_development_dependency 'bourne', '~> 1.0'
|
29
|
+
gem.add_development_dependency 'mocha', '~> 0.9.8'
|
27
30
|
gem.add_development_dependency 'rspec'
|
28
31
|
gem.add_development_dependency 'simplecov', '~> 0.7.1'
|
29
|
-
gem.add_development_dependency 'mocha', '~> 0.9.8'
|
30
|
-
gem.add_development_dependency 'bourne', '~> 1.0'
|
31
32
|
gem.add_development_dependency 'webmock', '~> 1.9.0'
|
32
33
|
end
|
metadata
CHANGED
@@ -1,25 +1,24 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
9
|
-
- Jessie A. Young
|
8
|
+
- Yammer team at thoughtbot
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2013-01-29 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
15
|
+
name: faraday
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ~>
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
21
|
+
version: 0.8.1
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,15 +26,15 @@ dependencies:
|
|
27
26
|
requirements:
|
28
27
|
- - ~>
|
29
28
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
29
|
+
version: 0.8.1
|
31
30
|
- !ruby/object:Gem::Dependency
|
32
|
-
name:
|
31
|
+
name: faraday_middleware
|
33
32
|
requirement: !ruby/object:Gem::Requirement
|
34
33
|
none: false
|
35
34
|
requirements:
|
36
35
|
- - ~>
|
37
36
|
- !ruby/object:Gem::Version
|
38
|
-
version: 0.
|
37
|
+
version: 0.9.0
|
39
38
|
type: :runtime
|
40
39
|
prerelease: false
|
41
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,15 +42,15 @@ dependencies:
|
|
43
42
|
requirements:
|
44
43
|
- - ~>
|
45
44
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
45
|
+
version: 0.9.0
|
47
46
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
47
|
+
name: hashie
|
49
48
|
requirement: !ruby/object:Gem::Requirement
|
50
49
|
none: false
|
51
50
|
requirements:
|
52
51
|
- - ~>
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
53
|
+
version: 1.2.0
|
55
54
|
type: :runtime
|
56
55
|
prerelease: false
|
57
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -59,7 +58,23 @@ dependencies:
|
|
59
58
|
requirements:
|
60
59
|
- - ~>
|
61
60
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
61
|
+
version: 1.2.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: json
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.7.6
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.7.6
|
63
78
|
- !ruby/object:Gem::Dependency
|
64
79
|
name: multi_json
|
65
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,29 +108,29 @@ dependencies:
|
|
93
108
|
- !ruby/object:Gem::Version
|
94
109
|
version: 0.8.0
|
95
110
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
111
|
+
name: bourne
|
97
112
|
requirement: !ruby/object:Gem::Requirement
|
98
113
|
none: false
|
99
114
|
requirements:
|
100
|
-
- -
|
115
|
+
- - ~>
|
101
116
|
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
117
|
+
version: '1.0'
|
103
118
|
type: :development
|
104
119
|
prerelease: false
|
105
120
|
version_requirements: !ruby/object:Gem::Requirement
|
106
121
|
none: false
|
107
122
|
requirements:
|
108
|
-
- -
|
123
|
+
- - ~>
|
109
124
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
125
|
+
version: '1.0'
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
127
|
+
name: mocha
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
114
129
|
none: false
|
115
130
|
requirements:
|
116
131
|
- - ~>
|
117
132
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.
|
133
|
+
version: 0.9.8
|
119
134
|
type: :development
|
120
135
|
prerelease: false
|
121
136
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -123,31 +138,31 @@ dependencies:
|
|
123
138
|
requirements:
|
124
139
|
- - ~>
|
125
140
|
- !ruby/object:Gem::Version
|
126
|
-
version: 0.
|
141
|
+
version: 0.9.8
|
127
142
|
- !ruby/object:Gem::Dependency
|
128
|
-
name:
|
143
|
+
name: rspec
|
129
144
|
requirement: !ruby/object:Gem::Requirement
|
130
145
|
none: false
|
131
146
|
requirements:
|
132
|
-
- -
|
147
|
+
- - ! '>='
|
133
148
|
- !ruby/object:Gem::Version
|
134
|
-
version: 0
|
149
|
+
version: '0'
|
135
150
|
type: :development
|
136
151
|
prerelease: false
|
137
152
|
version_requirements: !ruby/object:Gem::Requirement
|
138
153
|
none: false
|
139
154
|
requirements:
|
140
|
-
- -
|
155
|
+
- - ! '>='
|
141
156
|
- !ruby/object:Gem::Version
|
142
|
-
version: 0
|
157
|
+
version: '0'
|
143
158
|
- !ruby/object:Gem::Dependency
|
144
|
-
name:
|
159
|
+
name: simplecov
|
145
160
|
requirement: !ruby/object:Gem::Requirement
|
146
161
|
none: false
|
147
162
|
requirements:
|
148
163
|
- - ~>
|
149
164
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
165
|
+
version: 0.7.1
|
151
166
|
type: :development
|
152
167
|
prerelease: false
|
153
168
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -155,7 +170,7 @@ dependencies:
|
|
155
170
|
requirements:
|
156
171
|
- - ~>
|
157
172
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
173
|
+
version: 0.7.1
|
159
174
|
- !ruby/object:Gem::Dependency
|
160
175
|
name: webmock
|
161
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,8 +189,7 @@ dependencies:
|
|
174
189
|
version: 1.9.0
|
175
190
|
description: The official Yammer Ruby gem.
|
176
191
|
email:
|
177
|
-
-
|
178
|
-
- jessie@apprentice.io
|
192
|
+
- yammer@thoughtbot.com
|
179
193
|
executables: []
|
180
194
|
extensions: []
|
181
195
|
extra_rdoc_files: []
|
@@ -219,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
233
|
version: '0'
|
220
234
|
requirements: []
|
221
235
|
rubyforge_project:
|
222
|
-
rubygems_version: 1.8.
|
236
|
+
rubygems_version: 1.8.23
|
223
237
|
signing_key:
|
224
238
|
specification_version: 3
|
225
239
|
summary: A Ruby wrapper for the Yammer REST API
|