namely 0.2.2 → 0.2.3

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: 787bb73c9138fe9612f3b0a6bd2ae3a3ab8dda52
4
- data.tar.gz: 710d2cc567df6fd6789286470684f82381a01283
3
+ metadata.gz: 555f85e223a6cb8657f5c9fda719c37124f5cc52
4
+ data.tar.gz: 1a42b8f292cc9301217898da0f7345e4dba49b2a
5
5
  SHA512:
6
- metadata.gz: 493a954ff2216617a23dd570ad231ccd66cdedfa27dd1d5b0707d379f88fde76139d43eae7d7ccd10b1588ee9aa6cbf46715fe08b99f679ffb65b05cbfca3b5b
7
- data.tar.gz: 8b8a6d31e620db7b4f529a28e60153b4eb76ec702ef5c0c2b93df08b287d00f1899fc8f926c015619fa7060542e208168e49072c86f6a14fa871b7bae15ed815
6
+ metadata.gz: f30766bb3ecc9e527790e55ac71a58f74d4010dc7ce81d39b2e642bf1178b97d9b5d6254a21179a162f536829884b369c404131a2b3dc21293e3452763d854f0
7
+ data.tar.gz: 788d44d719b70ae72b657f8558d9ba1838ea53ca7632644e675aaf430f184be6919aa6fdd89eb8fb7ef9618f5ebaed85acd2734323acdbd54eee5c2c7f52aa01
data/.env.test ADDED
@@ -0,0 +1,7 @@
1
+ TEST_ACCESS_TOKEN=test-access-token
2
+ TEST_SUBDOMAIN=test.subdomain
3
+ AUTH_CODE=just-an-auth-code
4
+ CLIENT_ID=client-id
5
+ CLIENT_SECRET=client-secret
6
+ CLIENT_REDIRECT_URI=localhost
7
+ TEST_REFRESH_TOKEN=refresh
data/.travis.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  rvm:
2
- - 1.9.3
3
- - jruby-19mode
4
- - 2.0.0
5
- - 2.1.3
2
+ - jruby-9.1.5.0
3
+ - 2.1.10
4
+ - 2.2.6
5
+ - 2.3.3
6
+ - 2.4.0
@@ -1,3 +1,3 @@
1
1
  module Namely
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/lib/namely.rb CHANGED
@@ -1,4 +1,3 @@
1
- require "backports"
2
1
  require "json"
3
2
  require "ostruct"
4
3
  require "rest_client"
data/namely.gemspec CHANGED
@@ -6,8 +6,8 @@ require "namely/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "namely"
8
8
  spec.version = Namely::VERSION
9
- spec.authors = ["Harry Schwartz"]
10
- spec.email = ["harry@thoughtbot.com"]
9
+ spec.authors = ["Namely Integrations Team"]
10
+ spec.email = ["integrations-dev@namely.com"]
11
11
  spec.summary = "Wraps the Namely HTTP API in lovely Ruby."
12
12
  spec.homepage = "https://github.com/namely/ruby-client"
13
13
  spec.license = "MIT"
@@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
+ spec.required_ruby_version = '>= 2.1.0'
19
20
 
20
- spec.add_dependency "backports"
21
21
  spec.add_dependency "rest-client"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.7"
data/spec/spec_helper.rb CHANGED
@@ -8,7 +8,7 @@ require "dotenv"
8
8
  require "vcr"
9
9
  require "webmock/rspec"
10
10
 
11
- Dotenv.load
11
+ Dotenv.load(".env.test")
12
12
 
13
13
  VCR.configure do |config|
14
14
  config.cassette_library_dir = "spec/fixtures/vcr_cassettes"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: namely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
- - Harry Schwartz
7
+ - Namely Integrations Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-10 00:00:00.000000000 Z
11
+ date: 2017-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: backports
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rest-client
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -138,12 +124,13 @@ dependencies:
138
124
  version: '0'
139
125
  description:
140
126
  email:
141
- - harry@thoughtbot.com
127
+ - integrations-dev@namely.com
142
128
  executables:
143
129
  - setup
144
130
  extensions: []
145
131
  extra_rdoc_files: []
146
132
  files:
133
+ - ".env.test"
147
134
  - ".gitignore"
148
135
  - ".sample.env"
149
136
  - ".travis.yml"
@@ -215,7 +202,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
202
  requirements:
216
203
  - - ">="
217
204
  - !ruby/object:Gem::Version
218
- version: '0'
205
+ version: 2.1.0
219
206
  required_rubygems_version: !ruby/object:Gem::Requirement
220
207
  requirements:
221
208
  - - ">="
@@ -223,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
210
  version: '0'
224
211
  requirements: []
225
212
  rubyforge_project:
226
- rubygems_version: 2.2.0
213
+ rubygems_version: 2.6.8
227
214
  signing_key:
228
215
  specification_version: 4
229
216
  summary: Wraps the Namely HTTP API in lovely Ruby.
@@ -269,4 +256,3 @@ test_files:
269
256
  - spec/shared_examples/a_resource_with_an_index_action.rb
270
257
  - spec/shared_examples/a_resource_with_an_update_action.rb
271
258
  - spec/spec_helper.rb
272
- has_rdoc: