rails-sunset 0.1.0.pre.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/Appraisals +31 -0
- data/CHANGELOG.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +75 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/faraday_0.10.gemfile +7 -0
- data/gemfiles/faraday_0.10.gemfile.lock +196 -0
- data/gemfiles/faraday_0.11.gemfile +7 -0
- data/gemfiles/faraday_0.11.gemfile.lock +196 -0
- data/gemfiles/faraday_0.12.gemfile +7 -0
- data/gemfiles/faraday_0.12.gemfile.lock +196 -0
- data/gemfiles/faraday_0.13.gemfile +7 -0
- data/gemfiles/faraday_0.13.gemfile.lock +196 -0
- data/gemfiles/faraday_0.8.gemfile +7 -0
- data/gemfiles/faraday_0.8.gemfile.lock +192 -0
- data/gemfiles/faraday_0.9.gemfile +7 -0
- data/gemfiles/faraday_0.9.gemfile.lock +196 -0
- data/gemfiles/faraday_5.1.gemfile +7 -0
- data/gemfiles/rails_4.2.gemfile +7 -0
- data/gemfiles/rails_4.2.gemfile.lock +186 -0
- data/gemfiles/rails_5.0.gemfile +7 -0
- data/gemfiles/rails_5.0.gemfile.lock +192 -0
- data/gemfiles/rails_5.1.gemfile +7 -0
- data/gemfiles/rails_5.1.gemfile.lock +192 -0
- data/lib/rails-sunset.rb +4 -0
- data/lib/rails_sunset/controller.rb +52 -0
- data/lib/rails_sunset/railtie.rb +9 -0
- data/lib/rails_sunset/version.rb +3 -0
- data/rails-sunset.gemspec +35 -0
- metadata +233 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d9fdf095734d0622ec5703121d460590f313c8db
|
4
|
+
data.tar.gz: da224b706426df635ee039f491b1fcc9f3a37243
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dced671de889f5d75a7605bcd97824989572317800cb43a23c2f14b08044dd4fe3d7f1ce78669b2c0b01561dfce8abcd80b502d6c15b3eae076996daabbbf142
|
7
|
+
data.tar.gz: 15d5f11a7ecca8f1e42b12b3a4117e9a2f279bc7c6511ac38fd97fe08ca49a200a93ff5f073c9fda37cbcb6e823fdb0729eff10f2502f2e954c26ead5740b80d
|
data/.gitignore
ADDED
data/Appraisals
ADDED
@@ -0,0 +1,31 @@
|
|
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
|
+
appraise "rails-5.1" do
|
22
|
+
gem "rails", "~> 5.1.0"
|
23
|
+
end
|
24
|
+
|
25
|
+
appraise "rails-5.0" do
|
26
|
+
gem "rails", "~> 5.0.0"
|
27
|
+
end
|
28
|
+
|
29
|
+
appraise "rails-4.2" do
|
30
|
+
gem "rails", "~> 4.2.0"
|
31
|
+
end
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
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
|
+
|
38
|
+
### 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
|
71
|
+
|
72
|
+
### 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.
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 WeWork Projects
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
# Rails Sunset
|
2
|
+
|
3
|
+
[![Build Status][travis-image]][travis-url]
|
4
|
+
[![Coverage Status][coveralls-image]][coveralls-url]
|
5
|
+
[![MIT License][license-image]][license-url]
|
6
|
+
|
7
|
+
Rails Sunset lets you deprecate URLs (API or otherwise) in a Railsy way. Why? Because we all have those trash endpoints we'd love to delete, but we can't just delete them without turning that trash into a full-on garbage fire.
|
8
|
+
|
9
|
+
![Take out the garbage](https://user-images.githubusercontent.com/67381/32471240-46bc2786-c32a-11e7-8d0b-903ade85413b.jpeg)
|
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:
|
14
|
+
|
15
|
+
```
|
16
|
+
Sunset: Sat, 31 Dec 2018 23:59:59 GMT
|
17
|
+
```
|
18
|
+
|
19
|
+
This can be combined with a `Link: <http://foo.com/something> rel="sunset"` which can be anything that might help a developer know what is going on. Maybe link to your API documentation for the new resource, the OpenAPI/JSON Schema definitions, or even a blog post explaining the change.
|
20
|
+
|
21
|
+
[sunset-draft]: https://tools.ietf.org/html/draft-wilde-sunset-header-03
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
gem 'rails-sunset'
|
27
|
+
```
|
28
|
+
|
29
|
+
Using it in your controllers is as simple as calling the sunset class method:
|
30
|
+
|
31
|
+
``` ruby
|
32
|
+
class FooController
|
33
|
+
# Deprecate all methods and point them to a blog post
|
34
|
+
sunset DateTime.new(2019, 1, 1), link: 'http://example.com/blog/get-them-foos-outta-here'
|
35
|
+
|
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]
|
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']) }
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
These deprecations are logged to the `Rails.logger`, and output with `ActiveSupport::Deprecation`. You can [configure `ActiveSupport::Deprecation`][active-support-deprecation] to warn in a few different ways, or pass in any object that acts a bit like a Rack logger, Rails logger, or anything with a `warn` method that takes a string.
|
47
|
+
|
48
|
+
[active-support-deprecation]: http://api.rubyonrails.org/classes/ActiveSupport/Deprecation/Behavior.html
|
49
|
+
|
50
|
+
## Requirements
|
51
|
+
|
52
|
+
- **Ruby:** v2.2 - v2.4
|
53
|
+
- **Rails:** v4.2 - v5.2
|
54
|
+
|
55
|
+
## Testing
|
56
|
+
|
57
|
+
To run tests and modify locally, you'll want to `bundle install` in this directory.
|
58
|
+
|
59
|
+
```
|
60
|
+
bundle exec appraisal rspec
|
61
|
+
```
|
62
|
+
|
63
|
+
## Contributing
|
64
|
+
|
65
|
+
Bug reports and pull requests are welcome on GitHub at [wework/rails-sunset](https://github.com/wework/rails-sunset). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
66
|
+
|
67
|
+
|
68
|
+
[coveralls-image]:https://coveralls.io/repos/github/wework/rails-sunset/badge.svg?branch=master
|
69
|
+
[coveralls-url]:https://coveralls.io/github/wework/rails-sunset?branch=master
|
70
|
+
|
71
|
+
[travis-url]:https://travis-ci.org/wework/rails-sunset
|
72
|
+
[travis-image]: https://travis-ci.org/wework/rails-sunset.svg?branch=master
|
73
|
+
|
74
|
+
[license-url]: LICENSE
|
75
|
+
[license-image]: http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "rails-sunset"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
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)
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: https://rubygems.org/
|
14
|
+
specs:
|
15
|
+
actioncable (5.1.4)
|
16
|
+
actionpack (= 5.1.4)
|
17
|
+
nio4r (~> 2.0)
|
18
|
+
websocket-driver (~> 0.6.1)
|
19
|
+
actionmailer (5.1.4)
|
20
|
+
actionpack (= 5.1.4)
|
21
|
+
actionview (= 5.1.4)
|
22
|
+
activejob (= 5.1.4)
|
23
|
+
mail (~> 2.5, >= 2.5.4)
|
24
|
+
rails-dom-testing (~> 2.0)
|
25
|
+
actionpack (5.1.4)
|
26
|
+
actionview (= 5.1.4)
|
27
|
+
activesupport (= 5.1.4)
|
28
|
+
rack (~> 2.0)
|
29
|
+
rack-test (>= 0.6.3)
|
30
|
+
rails-dom-testing (~> 2.0)
|
31
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
32
|
+
actionview (5.1.4)
|
33
|
+
activesupport (= 5.1.4)
|
34
|
+
builder (~> 3.1)
|
35
|
+
erubi (~> 1.4)
|
36
|
+
rails-dom-testing (~> 2.0)
|
37
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
38
|
+
activejob (5.1.4)
|
39
|
+
activesupport (= 5.1.4)
|
40
|
+
globalid (>= 0.3.6)
|
41
|
+
activemodel (5.1.4)
|
42
|
+
activesupport (= 5.1.4)
|
43
|
+
activerecord (5.1.4)
|
44
|
+
activemodel (= 5.1.4)
|
45
|
+
activesupport (= 5.1.4)
|
46
|
+
arel (~> 8.0)
|
47
|
+
activesupport (5.1.4)
|
48
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
49
|
+
i18n (~> 0.7)
|
50
|
+
minitest (~> 5.1)
|
51
|
+
tzinfo (~> 1.1)
|
52
|
+
appraisal (2.2.0)
|
53
|
+
bundler
|
54
|
+
rake
|
55
|
+
thor (>= 0.14.0)
|
56
|
+
arel (8.0.0)
|
57
|
+
builder (3.2.3)
|
58
|
+
concurrent-ruby (1.0.5)
|
59
|
+
coveralls (0.7.1)
|
60
|
+
multi_json (~> 1.3)
|
61
|
+
rest-client
|
62
|
+
simplecov (>= 0.7)
|
63
|
+
term-ansicolor
|
64
|
+
thor
|
65
|
+
crass (1.0.2)
|
66
|
+
diff-lcs (1.3)
|
67
|
+
docile (1.1.5)
|
68
|
+
domain_name (0.5.20170404)
|
69
|
+
unf (>= 0.0.5, < 1.0.0)
|
70
|
+
erubi (1.7.0)
|
71
|
+
ethon (0.11.0)
|
72
|
+
ffi (>= 1.3.0)
|
73
|
+
faraday (0.10.1)
|
74
|
+
multipart-post (>= 1.2, < 3)
|
75
|
+
faraday-sunset (0.1.1)
|
76
|
+
faraday (>= 0.9.0, < 0.14)
|
77
|
+
faraday_middleware (0.12.2)
|
78
|
+
faraday (>= 0.7.4, < 1.0)
|
79
|
+
ffi (1.9.18)
|
80
|
+
globalid (0.4.1)
|
81
|
+
activesupport (>= 4.2.0)
|
82
|
+
hashie (3.5.5)
|
83
|
+
http-cookie (1.0.3)
|
84
|
+
domain_name (~> 0.5)
|
85
|
+
i18n (0.9.0)
|
86
|
+
concurrent-ruby (~> 1.0)
|
87
|
+
json (2.1.0)
|
88
|
+
loofah (2.1.1)
|
89
|
+
crass (~> 1.0.2)
|
90
|
+
nokogiri (>= 1.5.9)
|
91
|
+
mail (2.7.0)
|
92
|
+
mini_mime (>= 0.1.1)
|
93
|
+
method_source (0.9.0)
|
94
|
+
mime-types (3.1)
|
95
|
+
mime-types-data (~> 3.2015)
|
96
|
+
mime-types-data (3.2016.0521)
|
97
|
+
mini_mime (0.1.4)
|
98
|
+
mini_portile2 (2.3.0)
|
99
|
+
minitest (5.10.3)
|
100
|
+
multi_json (1.12.1)
|
101
|
+
multipart-post (2.0.0)
|
102
|
+
netrc (0.11.0)
|
103
|
+
nio4r (2.1.0)
|
104
|
+
nokogiri (1.8.1)
|
105
|
+
mini_portile2 (~> 2.3.0)
|
106
|
+
rack (2.0.3)
|
107
|
+
rack-test (0.7.0)
|
108
|
+
rack (>= 1.0, < 3)
|
109
|
+
rails (5.1.4)
|
110
|
+
actioncable (= 5.1.4)
|
111
|
+
actionmailer (= 5.1.4)
|
112
|
+
actionpack (= 5.1.4)
|
113
|
+
actionview (= 5.1.4)
|
114
|
+
activejob (= 5.1.4)
|
115
|
+
activemodel (= 5.1.4)
|
116
|
+
activerecord (= 5.1.4)
|
117
|
+
activesupport (= 5.1.4)
|
118
|
+
bundler (>= 1.3.0)
|
119
|
+
railties (= 5.1.4)
|
120
|
+
sprockets-rails (>= 2.0.0)
|
121
|
+
rails-dom-testing (2.0.3)
|
122
|
+
activesupport (>= 4.2.0)
|
123
|
+
nokogiri (>= 1.6)
|
124
|
+
rails-html-sanitizer (1.0.3)
|
125
|
+
loofah (~> 2.0)
|
126
|
+
railties (5.1.4)
|
127
|
+
actionpack (= 5.1.4)
|
128
|
+
activesupport (= 5.1.4)
|
129
|
+
method_source
|
130
|
+
rake (>= 0.8.7)
|
131
|
+
thor (>= 0.18.1, < 2.0)
|
132
|
+
rake (12.0.0)
|
133
|
+
rest-client (2.0.2)
|
134
|
+
http-cookie (>= 1.0.2, < 2.0)
|
135
|
+
mime-types (>= 1.16, < 4.0)
|
136
|
+
netrc (~> 0.8)
|
137
|
+
rspec (3.6.0)
|
138
|
+
rspec-core (~> 3.6.0)
|
139
|
+
rspec-expectations (~> 3.6.0)
|
140
|
+
rspec-mocks (~> 3.6.0)
|
141
|
+
rspec-core (3.6.0)
|
142
|
+
rspec-support (~> 3.6.0)
|
143
|
+
rspec-expectations (3.6.0)
|
144
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
145
|
+
rspec-support (~> 3.6.0)
|
146
|
+
rspec-mocks (3.6.0)
|
147
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
148
|
+
rspec-support (~> 3.6.0)
|
149
|
+
rspec-support (3.6.0)
|
150
|
+
ruby_decorators (0.0.3)
|
151
|
+
simplecov (0.15.0)
|
152
|
+
docile (~> 1.1.0)
|
153
|
+
json (>= 1.8, < 3)
|
154
|
+
simplecov-html (~> 0.10.0)
|
155
|
+
simplecov-html (0.10.2)
|
156
|
+
sprockets (3.7.1)
|
157
|
+
concurrent-ruby (~> 1.0)
|
158
|
+
rack (> 1, < 3)
|
159
|
+
sprockets-rails (3.2.1)
|
160
|
+
actionpack (>= 4.0)
|
161
|
+
activesupport (>= 4.0)
|
162
|
+
sprockets (>= 3.0.0)
|
163
|
+
term-ansicolor (1.6.0)
|
164
|
+
tins (~> 1.0)
|
165
|
+
thor (0.19.4)
|
166
|
+
thread_safe (0.3.6)
|
167
|
+
tins (1.15.0)
|
168
|
+
typhoeus (1.3.0)
|
169
|
+
ethon (>= 0.9.0)
|
170
|
+
tzinfo (1.2.4)
|
171
|
+
thread_safe (~> 0.1)
|
172
|
+
unf (0.1.4)
|
173
|
+
unf_ext
|
174
|
+
unf_ext (0.0.7.4)
|
175
|
+
vcr (3.0.3)
|
176
|
+
websocket-driver (0.6.5)
|
177
|
+
websocket-extensions (>= 0.1.0)
|
178
|
+
websocket-extensions (0.1.2)
|
179
|
+
|
180
|
+
PLATFORMS
|
181
|
+
ruby
|
182
|
+
|
183
|
+
DEPENDENCIES
|
184
|
+
appraisal (~> 2)
|
185
|
+
bundler (~> 1.14)
|
186
|
+
coveralls (~> 0.7)
|
187
|
+
faraday (~> 0.10.0)
|
188
|
+
hashie (~> 3.5)
|
189
|
+
rake (~> 12.0)
|
190
|
+
rspec (~> 3.5)
|
191
|
+
simplecov (~> 0.15)
|
192
|
+
vcr (~> 3)
|
193
|
+
we-call!
|
194
|
+
|
195
|
+
BUNDLED WITH
|
196
|
+
1.14.6
|
@@ -0,0 +1,196 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
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)
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: https://rubygems.org/
|
14
|
+
specs:
|
15
|
+
actioncable (5.1.4)
|
16
|
+
actionpack (= 5.1.4)
|
17
|
+
nio4r (~> 2.0)
|
18
|
+
websocket-driver (~> 0.6.1)
|
19
|
+
actionmailer (5.1.4)
|
20
|
+
actionpack (= 5.1.4)
|
21
|
+
actionview (= 5.1.4)
|
22
|
+
activejob (= 5.1.4)
|
23
|
+
mail (~> 2.5, >= 2.5.4)
|
24
|
+
rails-dom-testing (~> 2.0)
|
25
|
+
actionpack (5.1.4)
|
26
|
+
actionview (= 5.1.4)
|
27
|
+
activesupport (= 5.1.4)
|
28
|
+
rack (~> 2.0)
|
29
|
+
rack-test (>= 0.6.3)
|
30
|
+
rails-dom-testing (~> 2.0)
|
31
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
32
|
+
actionview (5.1.4)
|
33
|
+
activesupport (= 5.1.4)
|
34
|
+
builder (~> 3.1)
|
35
|
+
erubi (~> 1.4)
|
36
|
+
rails-dom-testing (~> 2.0)
|
37
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
38
|
+
activejob (5.1.4)
|
39
|
+
activesupport (= 5.1.4)
|
40
|
+
globalid (>= 0.3.6)
|
41
|
+
activemodel (5.1.4)
|
42
|
+
activesupport (= 5.1.4)
|
43
|
+
activerecord (5.1.4)
|
44
|
+
activemodel (= 5.1.4)
|
45
|
+
activesupport (= 5.1.4)
|
46
|
+
arel (~> 8.0)
|
47
|
+
activesupport (5.1.4)
|
48
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
49
|
+
i18n (~> 0.7)
|
50
|
+
minitest (~> 5.1)
|
51
|
+
tzinfo (~> 1.1)
|
52
|
+
appraisal (2.2.0)
|
53
|
+
bundler
|
54
|
+
rake
|
55
|
+
thor (>= 0.14.0)
|
56
|
+
arel (8.0.0)
|
57
|
+
builder (3.2.3)
|
58
|
+
concurrent-ruby (1.0.5)
|
59
|
+
coveralls (0.7.1)
|
60
|
+
multi_json (~> 1.3)
|
61
|
+
rest-client
|
62
|
+
simplecov (>= 0.7)
|
63
|
+
term-ansicolor
|
64
|
+
thor
|
65
|
+
crass (1.0.2)
|
66
|
+
diff-lcs (1.3)
|
67
|
+
docile (1.1.5)
|
68
|
+
domain_name (0.5.20170404)
|
69
|
+
unf (>= 0.0.5, < 1.0.0)
|
70
|
+
erubi (1.7.0)
|
71
|
+
ethon (0.11.0)
|
72
|
+
ffi (>= 1.3.0)
|
73
|
+
faraday (0.11.0)
|
74
|
+
multipart-post (>= 1.2, < 3)
|
75
|
+
faraday-sunset (0.1.1)
|
76
|
+
faraday (>= 0.9.0, < 0.14)
|
77
|
+
faraday_middleware (0.12.2)
|
78
|
+
faraday (>= 0.7.4, < 1.0)
|
79
|
+
ffi (1.9.18)
|
80
|
+
globalid (0.4.1)
|
81
|
+
activesupport (>= 4.2.0)
|
82
|
+
hashie (3.5.5)
|
83
|
+
http-cookie (1.0.3)
|
84
|
+
domain_name (~> 0.5)
|
85
|
+
i18n (0.9.0)
|
86
|
+
concurrent-ruby (~> 1.0)
|
87
|
+
json (2.1.0)
|
88
|
+
loofah (2.1.1)
|
89
|
+
crass (~> 1.0.2)
|
90
|
+
nokogiri (>= 1.5.9)
|
91
|
+
mail (2.7.0)
|
92
|
+
mini_mime (>= 0.1.1)
|
93
|
+
method_source (0.9.0)
|
94
|
+
mime-types (3.1)
|
95
|
+
mime-types-data (~> 3.2015)
|
96
|
+
mime-types-data (3.2016.0521)
|
97
|
+
mini_mime (0.1.4)
|
98
|
+
mini_portile2 (2.3.0)
|
99
|
+
minitest (5.10.3)
|
100
|
+
multi_json (1.12.1)
|
101
|
+
multipart-post (2.0.0)
|
102
|
+
netrc (0.11.0)
|
103
|
+
nio4r (2.1.0)
|
104
|
+
nokogiri (1.8.1)
|
105
|
+
mini_portile2 (~> 2.3.0)
|
106
|
+
rack (2.0.3)
|
107
|
+
rack-test (0.7.0)
|
108
|
+
rack (>= 1.0, < 3)
|
109
|
+
rails (5.1.4)
|
110
|
+
actioncable (= 5.1.4)
|
111
|
+
actionmailer (= 5.1.4)
|
112
|
+
actionpack (= 5.1.4)
|
113
|
+
actionview (= 5.1.4)
|
114
|
+
activejob (= 5.1.4)
|
115
|
+
activemodel (= 5.1.4)
|
116
|
+
activerecord (= 5.1.4)
|
117
|
+
activesupport (= 5.1.4)
|
118
|
+
bundler (>= 1.3.0)
|
119
|
+
railties (= 5.1.4)
|
120
|
+
sprockets-rails (>= 2.0.0)
|
121
|
+
rails-dom-testing (2.0.3)
|
122
|
+
activesupport (>= 4.2.0)
|
123
|
+
nokogiri (>= 1.6)
|
124
|
+
rails-html-sanitizer (1.0.3)
|
125
|
+
loofah (~> 2.0)
|
126
|
+
railties (5.1.4)
|
127
|
+
actionpack (= 5.1.4)
|
128
|
+
activesupport (= 5.1.4)
|
129
|
+
method_source
|
130
|
+
rake (>= 0.8.7)
|
131
|
+
thor (>= 0.18.1, < 2.0)
|
132
|
+
rake (12.0.0)
|
133
|
+
rest-client (2.0.2)
|
134
|
+
http-cookie (>= 1.0.2, < 2.0)
|
135
|
+
mime-types (>= 1.16, < 4.0)
|
136
|
+
netrc (~> 0.8)
|
137
|
+
rspec (3.6.0)
|
138
|
+
rspec-core (~> 3.6.0)
|
139
|
+
rspec-expectations (~> 3.6.0)
|
140
|
+
rspec-mocks (~> 3.6.0)
|
141
|
+
rspec-core (3.6.0)
|
142
|
+
rspec-support (~> 3.6.0)
|
143
|
+
rspec-expectations (3.6.0)
|
144
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
145
|
+
rspec-support (~> 3.6.0)
|
146
|
+
rspec-mocks (3.6.0)
|
147
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
148
|
+
rspec-support (~> 3.6.0)
|
149
|
+
rspec-support (3.6.0)
|
150
|
+
ruby_decorators (0.0.3)
|
151
|
+
simplecov (0.15.0)
|
152
|
+
docile (~> 1.1.0)
|
153
|
+
json (>= 1.8, < 3)
|
154
|
+
simplecov-html (~> 0.10.0)
|
155
|
+
simplecov-html (0.10.2)
|
156
|
+
sprockets (3.7.1)
|
157
|
+
concurrent-ruby (~> 1.0)
|
158
|
+
rack (> 1, < 3)
|
159
|
+
sprockets-rails (3.2.1)
|
160
|
+
actionpack (>= 4.0)
|
161
|
+
activesupport (>= 4.0)
|
162
|
+
sprockets (>= 3.0.0)
|
163
|
+
term-ansicolor (1.6.0)
|
164
|
+
tins (~> 1.0)
|
165
|
+
thor (0.19.4)
|
166
|
+
thread_safe (0.3.6)
|
167
|
+
tins (1.15.0)
|
168
|
+
typhoeus (1.3.0)
|
169
|
+
ethon (>= 0.9.0)
|
170
|
+
tzinfo (1.2.4)
|
171
|
+
thread_safe (~> 0.1)
|
172
|
+
unf (0.1.4)
|
173
|
+
unf_ext
|
174
|
+
unf_ext (0.0.7.4)
|
175
|
+
vcr (3.0.3)
|
176
|
+
websocket-driver (0.6.5)
|
177
|
+
websocket-extensions (>= 0.1.0)
|
178
|
+
websocket-extensions (0.1.2)
|
179
|
+
|
180
|
+
PLATFORMS
|
181
|
+
ruby
|
182
|
+
|
183
|
+
DEPENDENCIES
|
184
|
+
appraisal (~> 2)
|
185
|
+
bundler (~> 1.14)
|
186
|
+
coveralls (~> 0.7)
|
187
|
+
faraday (~> 0.11.0)
|
188
|
+
hashie (~> 3.5)
|
189
|
+
rake (~> 12.0)
|
190
|
+
rspec (~> 3.5)
|
191
|
+
simplecov (~> 0.15)
|
192
|
+
vcr (~> 3)
|
193
|
+
we-call!
|
194
|
+
|
195
|
+
BUNDLED WITH
|
196
|
+
1.14.6
|