tokyo_api 1.3.0 → 1.3.1

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
  SHA256:
3
- metadata.gz: ce924b467ea794f6a1bc81e4d9812c0d91c4a6304f17ce90b2d73a8e38b323a0
4
- data.tar.gz: 9ee4cded3df652abd98d3e29622ecbc027ae84b7832ffefdb58b881f08016cf5
3
+ metadata.gz: 81a96d89d04d1aff9f0a84ff9f33ca0764054d3173adfd8b4ba663964594540a
4
+ data.tar.gz: 041b8d28402371b200e574470ed4389342f4cd6d62a7913dd2e775d433873fae
5
5
  SHA512:
6
- metadata.gz: e3badd732d80242f264597b77363f8a7e26fdf74e8cb6ee4a07dc40dfdacdb8b2b24e065ef91140d0e83bd24a4818aaa32ee6e8542c658c406dfb63bb72abadb
7
- data.tar.gz: 8e6d82eeb1bcf0d4037209f85c2e3d665ee51519dbe80942e76ec51563b1f8d1e0d78cfdc2c8ea64bf25c78d26e0e319fb3fcc7ac2e9466b4bed1718a31a09d3
6
+ metadata.gz: df589e1193bc8ec4563d0d98c3a5aeb0039cca8bb3029c34911fb39f7610b7a6b8e5791e324e59b9b13eb49951edbfc1069b50b842e6202fee26e0aa4574ced3
7
+ data.tar.gz: 71baca71419c9901c9fe1d76cb2e71c65d346b57321cbb6203042df633a96db80d64d8d2789f8c8c7c752223f454d3c5e741033fa5f0053aba6e6c91c3ac6171
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'vertebrae'
3
+ gem 'vertebrae', '~> 0.5.0'
4
4
 
5
5
  # Add dependencies to develop your gem here.
6
6
  # Include everything needed to run rake, tests, features, etc.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -60,7 +60,9 @@ module TokyoApi
60
60
  connection.stack do |builder|
61
61
  builder.use Faraday::Request::Multipart
62
62
  builder.use Faraday::Request::UrlEncoded
63
- builder.use Vertebrae::Request::BasicAuth, connection.configuration.authentication if connection.configuration.authenticated?
63
+ if connection.configuration.authenticated?
64
+ builder.use Faraday::Request::BasicAuthentication, connection.configuration.username, connection.configuration.password
65
+ end
64
66
 
65
67
  builder.use Faraday::Response::Logger if ENV['DEBUG']
66
68
 
data/tokyo_api.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: tokyo_api 1.3.0 ruby lib
5
+ # stub: tokyo_api 1.3.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "tokyo_api".freeze
9
- s.version = "1.3.0"
9
+ s.version = "1.3.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Nathan Woodhull".freeze]
14
- s.date = "2018-09-04"
14
+ s.date = "2018-12-04"
15
15
  s.description = "Tokyo is a CRM middleware, this gem helps apps talk to it.".freeze
16
16
  s.email = "nathan@controlshiftlabs.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -25,7 +25,6 @@ Gem::Specification.new do |s|
25
25
  ".ruby-version",
26
26
  ".travis.yml",
27
27
  "Gemfile",
28
- "Gemfile.lock",
29
28
  "LICENSE.txt",
30
29
  "README.md",
31
30
  "Rakefile",
@@ -68,14 +67,14 @@ Gem::Specification.new do |s|
68
67
  s.specification_version = 4
69
68
 
70
69
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
71
- s.add_runtime_dependency(%q<vertebrae>.freeze, [">= 0"])
70
+ s.add_runtime_dependency(%q<vertebrae>.freeze, ["~> 0.5.0"])
72
71
  s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
73
72
  s.add_development_dependency(%q<webmock>.freeze, [">= 0"])
74
73
  s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
75
74
  s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
76
75
  s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
77
76
  else
78
- s.add_dependency(%q<vertebrae>.freeze, [">= 0"])
77
+ s.add_dependency(%q<vertebrae>.freeze, ["~> 0.5.0"])
79
78
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
80
79
  s.add_dependency(%q<webmock>.freeze, [">= 0"])
81
80
  s.add_dependency(%q<byebug>.freeze, [">= 0"])
@@ -83,7 +82,7 @@ Gem::Specification.new do |s|
83
82
  s.add_dependency(%q<juwelier>.freeze, [">= 0"])
84
83
  end
85
84
  else
86
- s.add_dependency(%q<vertebrae>.freeze, [">= 0"])
85
+ s.add_dependency(%q<vertebrae>.freeze, ["~> 0.5.0"])
87
86
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
88
87
  s.add_dependency(%q<webmock>.freeze, [">= 0"])
89
88
  s.add_dependency(%q<byebug>.freeze, [">= 0"])
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tokyo_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-04 00:00:00.000000000 Z
11
+ date: 2018-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vertebrae
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,6 @@ files:
108
108
  - ".ruby-version"
109
109
  - ".travis.yml"
110
110
  - Gemfile
111
- - Gemfile.lock
112
111
  - LICENSE.txt
113
112
  - README.md
114
113
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,107 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activesupport (5.1.3)
5
- concurrent-ruby (~> 1.0, >= 1.0.2)
6
- i18n (~> 0.7)
7
- minitest (~> 5.1)
8
- tzinfo (~> 1.1)
9
- addressable (2.4.0)
10
- builder (3.2.3)
11
- byebug (9.0.6)
12
- concurrent-ruby (1.0.5)
13
- crack (0.4.3)
14
- safe_yaml (~> 1.0.0)
15
- descendants_tracker (0.0.4)
16
- thread_safe (~> 0.3, >= 0.3.1)
17
- diff-lcs (1.3)
18
- faraday (0.9.2)
19
- multipart-post (>= 1.2, < 3)
20
- faraday_middleware (0.12.2)
21
- faraday (>= 0.7.4, < 1.0)
22
- git (1.3.0)
23
- github_api (0.17.0)
24
- addressable (~> 2.4.0)
25
- descendants_tracker (~> 0.0.4)
26
- faraday (~> 0.8, < 0.10)
27
- hashie (>= 3.4)
28
- mime-types (>= 1.16, < 3.0)
29
- oauth2 (~> 1.0)
30
- hashdiff (0.3.5)
31
- hashie (3.5.6)
32
- highline (1.7.8)
33
- i18n (0.8.6)
34
- juwelier (2.4.7)
35
- builder
36
- bundler
37
- git
38
- github_api
39
- highline
40
- kamelcase (~> 0)
41
- nokogiri
42
- psych
43
- rake
44
- rdoc
45
- semver2
46
- jwt (1.5.6)
47
- kamelcase (0.0.1)
48
- semver2 (~> 3)
49
- mime-types (2.99.3)
50
- mini_portile2 (2.3.0)
51
- minitest (5.10.3)
52
- multi_json (1.12.1)
53
- multi_xml (0.6.0)
54
- multipart-post (2.0.0)
55
- nokogiri (1.8.2)
56
- mini_portile2 (~> 2.3.0)
57
- oauth2 (1.4.0)
58
- faraday (>= 0.8, < 0.13)
59
- jwt (~> 1.0)
60
- multi_json (~> 1.3)
61
- multi_xml (~> 0.5)
62
- rack (>= 1.2, < 3)
63
- psych (2.2.4)
64
- rack (2.0.3)
65
- rake (12.0.0)
66
- rdoc (5.1.0)
67
- rspec (3.6.0)
68
- rspec-core (~> 3.6.0)
69
- rspec-expectations (~> 3.6.0)
70
- rspec-mocks (~> 3.6.0)
71
- rspec-core (3.6.0)
72
- rspec-support (~> 3.6.0)
73
- rspec-expectations (3.6.0)
74
- diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.6.0)
76
- rspec-mocks (3.6.0)
77
- diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.6.0)
79
- rspec-support (3.6.0)
80
- safe_yaml (1.0.4)
81
- semver2 (3.4.2)
82
- thread_safe (0.3.6)
83
- tzinfo (1.2.3)
84
- thread_safe (~> 0.1)
85
- vertebrae (0.4.1)
86
- activesupport
87
- faraday (>= 0.9.2)
88
- faraday_middleware
89
- hashie
90
- webmock (3.0.1)
91
- addressable (>= 2.3.6)
92
- crack (>= 0.3.2)
93
- hashdiff
94
-
95
- PLATFORMS
96
- ruby
97
-
98
- DEPENDENCIES
99
- bundler
100
- byebug
101
- juwelier
102
- rspec
103
- vertebrae
104
- webmock
105
-
106
- BUNDLED WITH
107
- 1.16.1