rails-sunset 0.1.0.pre.alpha1 → 0.1.0

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: d9fdf095734d0622ec5703121d460590f313c8db
4
- data.tar.gz: da224b706426df635ee039f491b1fcc9f3a37243
3
+ metadata.gz: 691a73512e3eb4702f31012c25828653f8e47778
4
+ data.tar.gz: 3b08406dca3d861da0b12a723c7ed526d3e7446c
5
5
  SHA512:
6
- metadata.gz: dced671de889f5d75a7605bcd97824989572317800cb43a23c2f14b08044dd4fe3d7f1ce78669b2c0b01561dfce8abcd80b502d6c15b3eae076996daabbbf142
7
- data.tar.gz: 15d5f11a7ecca8f1e42b12b3a4117e9a2f279bc7c6511ac38fd97fe08ca49a200a93ff5f073c9fda37cbcb6e823fdb0729eff10f2502f2e954c26ead5740b80d
6
+ metadata.gz: 9180eef8f4fe3688069cd44e42c795d8c7c9ad2bbfcdcfcba10a5e49d41df68c1baf05f1b6e14d4401ba75e6d81a1a3b017745b0e00f6a667137d565e150dc99
7
+ data.tar.gz: c3cabb1f4fd3eecf5bc0974eaffef9acb46c9b02d188224206cf1520c10e4e1b253aee398b3c149fcaf52281c2e865dd0535e7a682f8ef5d36b7fce7f29d34ab
data/.gitignore CHANGED
@@ -9,5 +9,5 @@
9
9
  /tmp/
10
10
  /spec/test_app/log/
11
11
  .byebug_history
12
+ .ruby-version
12
13
  Gemfile.lock
13
- *.sqlite3
data/.travis.yml ADDED
@@ -0,0 +1,22 @@
1
+ language: ruby
2
+ before_install:
3
+ - gem install bundler
4
+ script:
5
+ - bundle exec rspec
6
+ gemfile:
7
+ - gemfiles/rails_4.2.gemfile
8
+ - gemfiles/rails_5.0.gemfile
9
+ - gemfiles/rails_5.1.gemfile
10
+ rvm:
11
+ - 2.2
12
+ - 2.3
13
+ - 2.4
14
+ # - ruby-head
15
+
16
+ matrix:
17
+ fast_finish: true
18
+ allow_failures:
19
+ - rvm: 2.4
20
+ gemfile: gemfiles/rails_4.2.gemfile
21
+ - rvm: ruby-head
22
+ gemfile: gemfiles/rails_4.2.gemfile
data/Appraisals CHANGED
@@ -1,31 +1,14 @@
1
- appraise "faraday-0.13" do
2
- gem "faraday", "~> 0.13.0"
3
- end
4
-
5
- appraise "faraday-0.12" do
6
- gem "faraday", "~> 0.12.0"
7
- end
8
-
9
- appraise "faraday-0.11" do
10
- gem "faraday", "~> 0.11.0"
11
- end
12
-
13
- appraise "faraday-0.10" do
14
- gem "faraday", "~> 0.10.0"
15
- end
16
-
17
- appraise "faraday-0.9" do
18
- gem "faraday", "~> 0.9.0"
19
- end
20
-
21
1
  appraise "rails-5.1" do
22
2
  gem "rails", "~> 5.1.0"
3
+ gem "activesupport", "~> 5.1.0"
23
4
  end
24
5
 
25
6
  appraise "rails-5.0" do
26
7
  gem "rails", "~> 5.0.0"
8
+ gem "activesupport", "~> 5.0.0"
27
9
  end
28
10
 
29
11
  appraise "rails-4.2" do
30
12
  gem "rails", "~> 4.2.0"
13
+ gem "activesupport", "~> 4.2.0"
31
14
  end
data/CHANGELOG.md CHANGED
@@ -5,70 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
- ## v0.6.1
9
- ### Fixed
10
- - Required typhoeus in We::Call instead of connection, which loads it early enough for NewRelic tracing to kick in if you use that
11
-
12
- ### Changed
13
- - Reduced open timeout default to 1 second
14
-
15
- ## v0.6.0
16
- ### Changed
17
- - Use typhoeus instead of NetHTTP for a [series of reasons]
18
-
19
- [typhoeus]: https://github.com/typhoeus/typhoeus
20
- [series of reasons]: https://github.com/wework/we-call-gem/pull/7
21
-
22
- ## v0.5.4
23
- ### Fixed
24
- - Connection checks `Rails.env` instead of `ENV['RAILS_ENV']` as most people dont have RAILS_ENV in their `.env` file
25
-
26
- ## v0.5.3
27
-
28
- ### Fixed
29
- - Deprecations were calling a private method and failing
30
-
31
- ## v0.5.2
32
-
33
- ### Fixed
34
- - Made Annotations require "ruby_decorators"
35
-
36
- ## v0.5.1
37
-
8
+ ## [v0.1.0] - 2018-05-01
38
9
  ### Changed
39
- - Switched `config.detect_deprecations` from bool to expect `:active_support` or logger instance
40
- - Moved `We::Call::Middleware::Client::DetectDeprecations` into its own [faraday-sunset] gem (no BC breaks)
41
-
42
- [faraday-sunset]: https://github.com/philsturgeon/faraday-sunset
43
-
44
- ## v0.5.0
45
-
46
- ### Added
47
- - Configurable `We::Call.configure` which accepts a config block
48
- - Config option `config.app_name` to avoid providing `app:` in every connection initializer
49
- - Added the concept of Annotations. Simply `extend We::Call::Annotations` in a base controller to get cool stuff
50
- - First annotation: `We::Call::Deprecated` added to mark controller methods as deprecated
51
- - Added `We::Call::Middleware::Client::DetectDeprecations` that automatically registers as a faraday response middleware to report deprecated endpoints
52
-
53
- ### Changed
54
- - Defaults to setting `X-App-Name` instead of `X-WeWork-App` (override with config.app_name_header)
55
- - Defaults to setting `X-App-Env` instead of `X-WeWork-Env` (override with config.app_env_header)
56
-
57
- ### Fixed
58
- - Switched from manually requiring to using module autoload to reduce memory footprint
59
-
60
- ## v0.4.2
61
-
62
- ### Fixed
63
- - Manually setting `conn.adapter` would result in double adapters (two requests made!)
64
-
65
- ## v0.4.1
66
-
67
- ### Fixed
68
- - Improved support for Faraday 0.8 - 0.9.
69
-
70
- ## v0.4.0
10
+ - link lambda/proc/whatever is now called in the scope of the instance, so any instance methods, params, etc will be available. E.g: `link: -> { foo_url(params['id']) }`
71
11
 
12
+ ## [v0.1.0-alpha1] - 2017-11-06
72
13
  ### Added
73
- - `We::Call::Connection.new` requires `timeout: 1` where 1 is seconds.
74
- - `We::Call::Connection.new` accepts `open_timeout: 1` where 1 is seconds.
14
+ - Initial version. Pretty basic, but adds a `sunset` method to mark things as deprecated
data/Gemfile CHANGED
@@ -1,4 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in we-call.gemspec
4
3
  gemspec
4
+
5
+ group :development, :test do
6
+ gem "appraisal"
7
+ gem "wwtd"
8
+ end
data/README.md CHANGED
@@ -8,9 +8,7 @@ Rails Sunset lets you deprecate URLs (API or otherwise) in a Railsy way. Why? Be
8
8
 
9
9
  ![Take out the garbage](https://user-images.githubusercontent.com/67381/32471240-46bc2786-c32a-11e7-8d0b-903ade85413b.jpeg)
10
10
 
11
- The [Sunset header][sunset-draft] is an in-development HTTP response header that is aiming to standardize how URLs are marked for deprecation.
12
-
13
- When output, it looks like this:
11
+ The [Sunset header][sunset-draft] is an in-development HTTP response header that is aiming to standardize how URLs are marked for deprecation. tl:dr; it looks a bit like this:
14
12
 
15
13
  ```
16
14
  Sunset: Sat, 31 Dec 2018 23:59:59 GMT
@@ -33,13 +31,14 @@ class FooController
33
31
  # Deprecate all methods and point them to a blog post
34
32
  sunset DateTime.new(2019, 1, 1), link: 'http://example.com/blog/get-them-foos-outta-here'
35
33
 
36
- # Deprecate two and point to their new resources, but do it via only: []
37
- sunset DateTime.new(2019, 1, 1), link: api_v3_companies, only: [:index]
38
- sunset DateTime.new(2019, 1, 1), link: ->(){ api_v3_company(params['id']) }, only: [:show]
34
+ # Deprecate only update and destroy but dont explain why
35
+ sunset DateTime.new(2019, 1, 1), only: [:update, :destroy]
36
+
37
+ # Deprecate just the one method with this shortcut
38
+ sunset_method :create, DateTime.new(2019, 1, 1)
39
39
 
40
- # Maybe we should add sunset_method for that?
41
- sunset_method :index, DateTime.new(2019, 1, 1), link: api_v3_companies
42
- sunset_method :show, DateTime.new(2019, 1, 1), link: ->(){ api_v3_company(params['id']) }
40
+ # Use a lambda instead of a string to inject params
41
+ sunset_method :destroy, DateTime.new(2019, 1, 1), link: -> { v3_company_url(params['id']) }
43
42
  end
44
43
  ```
45
44
 
@@ -47,16 +46,43 @@ These deprecations are logged to the `Rails.logger`, and output with `ActiveSupp
47
46
 
48
47
  [active-support-deprecation]: http://api.rubyonrails.org/classes/ActiveSupport/Deprecation/Behavior.html
49
48
 
49
+ ## Handling Those Dates
50
+
51
+ Literring your controllers with all those dates certainly doesn't seem ideal, it's basically magic numbers.
52
+
53
+ One approach would be to make a `config/initializer/deprecations.rb` with some "milestones" like this:
54
+
55
+ ``` ruby
56
+ # config/initializer/deprecations.rb
57
+
58
+ SUNSET_MILESTONES = {
59
+ drain_the_swamp: DateTime.new(2018, 2, 1),
60
+ v2_needs_to_go: DateTime.new(2018, 4, 1),
61
+ }
62
+ ```
63
+
64
+ ``` ruby
65
+ # app/controllers/foo_controller.rb
66
+
67
+ sunset SUNSET_MILESTONES[:drain_the_swamp], link: 'http://example.com/blog/get-them-foos-outta-here'
68
+ ```
69
+
70
+ Call em what you want, but something like this should keep things on track.
71
+
50
72
  ## Requirements
51
73
 
52
74
  - **Ruby:** v2.2 - v2.4
53
75
  - **Rails:** v4.2 - v5.2
54
76
 
77
+ _**Note:** Although we support Ruby v2.4 and Rails v4.2, they [don't really like each other][it-is-known] all that much. As such, expect failures on Travis for that combination._
78
+
79
+ [it-is-known]: https://stackoverflow.com/questions/41504106/ruby-2-4-and-rails-4-stack-level-too-deep-systemstackerror
80
+
55
81
  ## Testing
56
82
 
57
83
  To run tests and modify locally, you'll want to `bundle install` in this directory.
58
84
 
59
- ```
85
+ ``` shell
60
86
  bundle exec appraisal rspec
61
87
  ```
62
88
 
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
- require "bundler/gem_tasks"
1
+ require "rubygems"
2
+ require "bundler/setup"
2
3
  require "rspec/core/rake_task"
3
4
 
4
5
  RSpec::Core::RakeTask.new(:spec)
5
6
 
6
- task :default => :spec
7
+ task default: :spec
@@ -3,5 +3,11 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 4.2.0"
6
+ gem "activesupport", "~> 4.2.0"
7
+
8
+ group :development, :test do
9
+ gem "appraisal"
10
+ gem "wwtd"
11
+ end
6
12
 
7
13
  gemspec path: "../"
@@ -1,13 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- we-call (0.5.4)
5
- faraday (>= 0.9.0, < 1.0)
6
- faraday-sunset (~> 0.1.0)
7
- faraday_middleware (~> 0)
8
- rails (>= 4.2)
9
- ruby_decorators (~> 0.0)
10
- typhoeus (~> 1.3)
4
+ rails-sunset (0.1.0)
5
+ rails (>= 4.2, < 6)
11
6
 
12
7
  GEM
13
8
  remote: https://rubygems.org/
@@ -54,48 +49,36 @@ GEM
54
49
  arel (6.0.4)
55
50
  builder (3.2.3)
56
51
  concurrent-ruby (1.0.5)
57
- coveralls (0.7.1)
52
+ coveralls (0.7.2)
58
53
  multi_json (~> 1.3)
59
- rest-client
54
+ rest-client (= 1.6.7)
60
55
  simplecov (>= 0.7)
61
- term-ansicolor
62
- thor
56
+ term-ansicolor (= 1.2.2)
57
+ thor (= 0.18.1)
58
+ crass (1.0.2)
63
59
  diff-lcs (1.3)
64
60
  docile (1.1.5)
65
- domain_name (0.5.20170404)
66
- unf (>= 0.0.5, < 1.0.0)
67
61
  erubis (2.7.0)
68
- ethon (0.11.0)
69
- ffi (>= 1.3.0)
70
- faraday (0.13.1)
71
- multipart-post (>= 1.2, < 3)
72
- faraday-sunset (0.1.1)
73
- faraday (>= 0.9.0, < 0.14)
74
- faraday_middleware (0.12.2)
75
- faraday (>= 0.7.4, < 1.0)
76
- ffi (1.9.18)
77
- globalid (0.4.0)
62
+ globalid (0.4.1)
78
63
  activesupport (>= 4.2.0)
79
- hashie (3.5.5)
80
- http-cookie (1.0.3)
81
- domain_name (~> 0.5)
82
- i18n (0.8.1)
64
+ i18n (0.9.1)
65
+ concurrent-ruby (~> 1.0)
83
66
  json (1.8.6)
84
- loofah (2.0.3)
67
+ loofah (2.1.1)
68
+ crass (~> 1.0.2)
85
69
  nokogiri (>= 1.5.9)
86
- mail (2.6.5)
87
- mime-types (>= 1.16, < 4)
70
+ mail (2.7.0)
71
+ mini_mime (>= 0.1.1)
88
72
  mime-types (3.1)
89
73
  mime-types-data (~> 3.2015)
90
74
  mime-types-data (3.2016.0521)
91
- mini_portile2 (2.1.0)
92
- minitest (5.10.1)
93
- multi_json (1.12.1)
94
- multipart-post (2.0.0)
95
- netrc (0.11.0)
96
- nokogiri (1.7.1)
97
- mini_portile2 (~> 2.1.0)
98
- rack (1.6.5)
75
+ mini_mime (1.0.0)
76
+ mini_portile2 (2.3.0)
77
+ minitest (5.10.3)
78
+ multi_json (1.12.2)
79
+ nokogiri (1.8.1)
80
+ mini_portile2 (~> 2.3.0)
81
+ rack (1.6.8)
99
82
  rack-test (0.6.3)
100
83
  rack (>= 1.0)
101
84
  rails (4.2.7.1)
@@ -122,26 +105,31 @@ GEM
122
105
  activesupport (= 4.2.7.1)
123
106
  rake (>= 0.8.7)
124
107
  thor (>= 0.18.1, < 2.0)
125
- rake (12.0.0)
126
- rest-client (2.0.2)
127
- http-cookie (>= 1.0.2, < 2.0)
128
- mime-types (>= 1.16, < 4.0)
129
- netrc (~> 0.8)
130
- rspec (3.6.0)
131
- rspec-core (~> 3.6.0)
132
- rspec-expectations (~> 3.6.0)
133
- rspec-mocks (~> 3.6.0)
134
- rspec-core (3.6.0)
135
- rspec-support (~> 3.6.0)
136
- rspec-expectations (3.6.0)
108
+ rake (12.2.1)
109
+ rest-client (1.6.7)
110
+ mime-types (>= 1.16)
111
+ rspec (3.7.0)
112
+ rspec-core (~> 3.7.0)
113
+ rspec-expectations (~> 3.7.0)
114
+ rspec-mocks (~> 3.7.0)
115
+ rspec-core (3.7.0)
116
+ rspec-support (~> 3.7.0)
117
+ rspec-expectations (3.7.0)
137
118
  diff-lcs (>= 1.2.0, < 2.0)
138
- rspec-support (~> 3.6.0)
139
- rspec-mocks (3.6.0)
119
+ rspec-support (~> 3.7.0)
120
+ rspec-mocks (3.7.0)
140
121
  diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.6.0)
142
- rspec-support (3.6.0)
143
- ruby_decorators (0.0.3)
144
- simplecov (0.15.0)
122
+ rspec-support (~> 3.7.0)
123
+ rspec-rails (3.7.1)
124
+ actionpack (>= 3.0)
125
+ activesupport (>= 3.0)
126
+ railties (>= 3.0)
127
+ rspec-core (~> 3.7.0)
128
+ rspec-expectations (~> 3.7.0)
129
+ rspec-mocks (~> 3.7.0)
130
+ rspec-support (~> 3.7.0)
131
+ rspec-support (3.7.0)
132
+ simplecov (0.15.1)
145
133
  docile (~> 1.1.0)
146
134
  json (>= 1.8, < 3)
147
135
  simplecov-html (~> 0.10.0)
@@ -149,38 +137,33 @@ GEM
149
137
  sprockets (3.7.1)
150
138
  concurrent-ruby (~> 1.0)
151
139
  rack (> 1, < 3)
152
- sprockets-rails (3.2.0)
140
+ sprockets-rails (3.2.1)
153
141
  actionpack (>= 4.0)
154
142
  activesupport (>= 4.0)
155
143
  sprockets (>= 3.0.0)
156
- term-ansicolor (1.6.0)
157
- tins (~> 1.0)
158
- thor (0.19.4)
144
+ term-ansicolor (1.2.2)
145
+ tins (~> 0.8)
146
+ thor (0.18.1)
159
147
  thread_safe (0.3.6)
160
- tins (1.15.0)
161
- typhoeus (1.3.0)
162
- ethon (>= 0.9.0)
163
- tzinfo (1.2.3)
148
+ tins (0.13.2)
149
+ tzinfo (1.2.4)
164
150
  thread_safe (~> 0.1)
165
- unf (0.1.4)
166
- unf_ext
167
- unf_ext (0.0.7.4)
168
- vcr (3.0.3)
151
+ wwtd (1.3.0)
169
152
 
170
153
  PLATFORMS
171
154
  ruby
172
155
 
173
156
  DEPENDENCIES
174
- appraisal (~> 2)
175
- bundler (~> 1.14)
176
- coveralls (~> 0.7)
177
- hashie (~> 3.5)
157
+ activesupport (~> 4.2.0)
158
+ appraisal
159
+ bundler
160
+ coveralls
178
161
  rails (~> 4.2.0)
179
- rake (~> 12.0)
180
- rspec (~> 3.5)
181
- simplecov (~> 0.15)
182
- vcr (~> 3)
183
- we-call!
162
+ rails-sunset!
163
+ rspec (>= 3.6)
164
+ rspec-rails
165
+ simplecov
166
+ wwtd
184
167
 
185
168
  BUNDLED WITH
186
- 1.14.6
169
+ 1.16.0
@@ -3,5 +3,11 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 5.0.0"
6
+ gem "activesupport", "~> 5.0.0"
7
+
8
+ group :development, :test do
9
+ gem "appraisal"
10
+ gem "wwtd"
11
+ end
6
12
 
7
13
  gemspec path: "../"
@@ -1,13 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- we-call (0.5.4)
5
- faraday (>= 0.9.0, < 1.0)
6
- faraday-sunset (~> 0.1.0)
7
- faraday_middleware (~> 0)
8
- rails (>= 4.2)
9
- ruby_decorators (~> 0.0)
10
- typhoeus (~> 1.3)
4
+ rails-sunset (0.1.0)
5
+ rails (>= 4.2, < 6)
11
6
 
12
7
  GEM
13
8
  remote: https://rubygems.org/
@@ -56,50 +51,38 @@ GEM
56
51
  arel (7.1.4)
57
52
  builder (3.2.3)
58
53
  concurrent-ruby (1.0.5)
59
- coveralls (0.7.1)
54
+ coveralls (0.7.2)
60
55
  multi_json (~> 1.3)
61
- rest-client
56
+ rest-client (= 1.6.7)
62
57
  simplecov (>= 0.7)
63
- term-ansicolor
64
- thor
58
+ term-ansicolor (= 1.2.2)
59
+ thor (= 0.18.1)
60
+ crass (1.0.2)
65
61
  diff-lcs (1.3)
66
62
  docile (1.1.5)
67
- domain_name (0.5.20170404)
68
- unf (>= 0.0.5, < 1.0.0)
69
63
  erubis (2.7.0)
70
- ethon (0.11.0)
71
- ffi (>= 1.3.0)
72
- faraday (0.13.1)
73
- multipart-post (>= 1.2, < 3)
74
- faraday-sunset (0.1.1)
75
- faraday (>= 0.9.0, < 0.14)
76
- faraday_middleware (0.12.2)
77
- faraday (>= 0.7.4, < 1.0)
78
- ffi (1.9.18)
79
- globalid (0.4.0)
64
+ globalid (0.4.1)
80
65
  activesupport (>= 4.2.0)
81
- hashie (3.5.5)
82
- http-cookie (1.0.3)
83
- domain_name (~> 0.5)
84
- i18n (0.8.1)
66
+ i18n (0.9.1)
67
+ concurrent-ruby (~> 1.0)
85
68
  json (2.1.0)
86
- loofah (2.0.3)
69
+ loofah (2.1.1)
70
+ crass (~> 1.0.2)
87
71
  nokogiri (>= 1.5.9)
88
- mail (2.6.5)
89
- mime-types (>= 1.16, < 4)
90
- method_source (0.8.2)
72
+ mail (2.7.0)
73
+ mini_mime (>= 0.1.1)
74
+ method_source (0.9.0)
91
75
  mime-types (3.1)
92
76
  mime-types-data (~> 3.2015)
93
77
  mime-types-data (3.2016.0521)
94
- mini_portile2 (2.1.0)
95
- minitest (5.10.1)
96
- multi_json (1.12.1)
97
- multipart-post (2.0.0)
98
- netrc (0.11.0)
99
- nio4r (2.0.0)
100
- nokogiri (1.7.1)
101
- mini_portile2 (~> 2.1.0)
102
- rack (2.0.1)
78
+ mini_mime (1.0.0)
79
+ mini_portile2 (2.3.0)
80
+ minitest (5.10.3)
81
+ multi_json (1.12.2)
82
+ nio4r (2.1.0)
83
+ nokogiri (1.8.1)
84
+ mini_portile2 (~> 2.3.0)
85
+ rack (2.0.3)
103
86
  rack-test (0.6.3)
104
87
  rack (>= 1.0)
105
88
  rails (5.0.2)
@@ -114,9 +97,9 @@ GEM
114
97
  bundler (>= 1.3.0, < 2.0)
115
98
  railties (= 5.0.2)
116
99
  sprockets-rails (>= 2.0.0)
117
- rails-dom-testing (2.0.2)
118
- activesupport (>= 4.2.0, < 6.0)
119
- nokogiri (~> 1.6)
100
+ rails-dom-testing (2.0.3)
101
+ activesupport (>= 4.2.0)
102
+ nokogiri (>= 1.6)
120
103
  rails-html-sanitizer (1.0.3)
121
104
  loofah (~> 2.0)
122
105
  railties (5.0.2)
@@ -125,26 +108,31 @@ GEM
125
108
  method_source
126
109
  rake (>= 0.8.7)
127
110
  thor (>= 0.18.1, < 2.0)
128
- rake (12.0.0)
129
- rest-client (2.0.2)
130
- http-cookie (>= 1.0.2, < 2.0)
131
- mime-types (>= 1.16, < 4.0)
132
- netrc (~> 0.8)
133
- rspec (3.6.0)
134
- rspec-core (~> 3.6.0)
135
- rspec-expectations (~> 3.6.0)
136
- rspec-mocks (~> 3.6.0)
137
- rspec-core (3.6.0)
138
- rspec-support (~> 3.6.0)
139
- rspec-expectations (3.6.0)
111
+ rake (12.2.1)
112
+ rest-client (1.6.7)
113
+ mime-types (>= 1.16)
114
+ rspec (3.7.0)
115
+ rspec-core (~> 3.7.0)
116
+ rspec-expectations (~> 3.7.0)
117
+ rspec-mocks (~> 3.7.0)
118
+ rspec-core (3.7.0)
119
+ rspec-support (~> 3.7.0)
120
+ rspec-expectations (3.7.0)
140
121
  diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.6.0)
142
- rspec-mocks (3.6.0)
122
+ rspec-support (~> 3.7.0)
123
+ rspec-mocks (3.7.0)
143
124
  diff-lcs (>= 1.2.0, < 2.0)
144
- rspec-support (~> 3.6.0)
145
- rspec-support (3.6.0)
146
- ruby_decorators (0.0.3)
147
- simplecov (0.15.0)
125
+ rspec-support (~> 3.7.0)
126
+ rspec-rails (3.7.1)
127
+ actionpack (>= 3.0)
128
+ activesupport (>= 3.0)
129
+ railties (>= 3.0)
130
+ rspec-core (~> 3.7.0)
131
+ rspec-expectations (~> 3.7.0)
132
+ rspec-mocks (~> 3.7.0)
133
+ rspec-support (~> 3.7.0)
134
+ rspec-support (3.7.0)
135
+ simplecov (0.15.1)
148
136
  docile (~> 1.1.0)
149
137
  json (>= 1.8, < 3)
150
138
  simplecov-html (~> 0.10.0)
@@ -152,41 +140,36 @@ GEM
152
140
  sprockets (3.7.1)
153
141
  concurrent-ruby (~> 1.0)
154
142
  rack (> 1, < 3)
155
- sprockets-rails (3.2.0)
143
+ sprockets-rails (3.2.1)
156
144
  actionpack (>= 4.0)
157
145
  activesupport (>= 4.0)
158
146
  sprockets (>= 3.0.0)
159
- term-ansicolor (1.6.0)
160
- tins (~> 1.0)
161
- thor (0.19.4)
147
+ term-ansicolor (1.2.2)
148
+ tins (~> 0.8)
149
+ thor (0.18.1)
162
150
  thread_safe (0.3.6)
163
- tins (1.15.0)
164
- typhoeus (1.3.0)
165
- ethon (>= 0.9.0)
166
- tzinfo (1.2.3)
151
+ tins (0.13.2)
152
+ tzinfo (1.2.4)
167
153
  thread_safe (~> 0.1)
168
- unf (0.1.4)
169
- unf_ext
170
- unf_ext (0.0.7.4)
171
- vcr (3.0.3)
172
154
  websocket-driver (0.6.5)
173
155
  websocket-extensions (>= 0.1.0)
174
156
  websocket-extensions (0.1.2)
157
+ wwtd (1.3.0)
175
158
 
176
159
  PLATFORMS
177
160
  ruby
178
161
 
179
162
  DEPENDENCIES
180
- appraisal (~> 2)
181
- bundler (~> 1.14)
182
- coveralls (~> 0.7)
183
- hashie (~> 3.5)
163
+ activesupport (~> 5.0.0)
164
+ appraisal
165
+ bundler
166
+ coveralls
184
167
  rails (~> 5.0.0)
185
- rake (~> 12.0)
186
- rspec (~> 3.5)
187
- simplecov (~> 0.15)
188
- vcr (~> 3)
189
- we-call!
168
+ rails-sunset!
169
+ rspec (>= 3.6)
170
+ rspec-rails
171
+ simplecov
172
+ wwtd
190
173
 
191
174
  BUNDLED WITH
192
- 1.14.6
175
+ 1.16.0