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 CHANGED
@@ -3,6 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
+ bin/
6
7
  Gemfile.lock
7
8
  InstalledFiles
8
9
  _yardoc
@@ -4,3 +4,6 @@ rvm:
4
4
  - 1.9.2
5
5
  - 1.8.7
6
6
  - ree
7
+ before_install:
8
+ - gem update --system
9
+ - gem --version
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  Yam
2
2
  ===
3
3
 
4
+ [![Build Status](https://api.travis-ci.org/yammer/yam.png)](https://travis-ci.org/yammer/yam)
5
+
4
6
  The official Yammer Ruby gem.
5
7
 
6
8
  NOTE: Currently in alpha - use at your own risk
@@ -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
@@ -16,10 +16,10 @@
16
16
  # permissions and limitations under the License.
17
17
 
18
18
  require 'faraday'
19
- require 'yam/constants'
19
+ require 'faraday_middleware/request/oauth2'
20
20
  require 'faraday_middleware/response/mashify'
21
21
  require 'faraday_middleware/response/parse_json'
22
- require 'faraday_middleware/request/oauth2'
22
+ require 'yam/constants'
23
23
 
24
24
  module Yam
25
25
  module Connection
@@ -16,5 +16,5 @@
16
16
  # permissions and limitations under the License.
17
17
 
18
18
  module Yam
19
- VERSION = '0.0.5'
19
+ VERSION = '0.0.6'
20
20
  end
@@ -21,10 +21,10 @@ SimpleCov.start do
21
21
  add_filter 'spec'
22
22
  end
23
23
 
24
+ require 'bourne'
24
25
  require 'rspec'
25
- require 'yam'
26
26
  require 'webmock/rspec'
27
- require 'bourne'
27
+ require 'yam'
28
28
 
29
29
  ENDPOINT = Yam::Configuration::DEFAULT_API_ENDPOINT
30
30
 
@@ -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 = ['Mason Fischer', 'Jessie A. Young']
11
- gem.email = ['mason@thoughtbot.com', 'jessie@apprentice.io']
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.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Mason Fischer
9
- - Jessie A. Young
8
+ - Yammer team at thoughtbot
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-12-20 00:00:00.000000000 Z
12
+ date: 2013-01-29 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- name: hashie
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: 1.2.0
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: 1.2.0
29
+ version: 0.8.1
31
30
  - !ruby/object:Gem::Dependency
32
- name: faraday
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.8.1
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.8.1
45
+ version: 0.9.0
47
46
  - !ruby/object:Gem::Dependency
48
- name: faraday_middleware
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: 0.9.0
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: 0.9.0
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: rspec
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: simplecov
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.7.1
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.7.1
141
+ version: 0.9.8
127
142
  - !ruby/object:Gem::Dependency
128
- name: mocha
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.9.8
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.9.8
157
+ version: '0'
143
158
  - !ruby/object:Gem::Dependency
144
- name: bourne
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: '1.0'
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: '1.0'
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
- - mason@thoughtbot.com
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.24
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