grape 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +58 -58
- data/README.md +52 -3
- data/gemfiles/multi_json.gemfile +1 -1
- data/gemfiles/multi_xml.gemfile +1 -1
- data/gemfiles/rack_1.5.2.gemfile.lock +232 -0
- data/gemfiles/rack_edge.gemfile +1 -1
- data/gemfiles/rails_3.gemfile +1 -1
- data/gemfiles/rails_3.gemfile.lock +288 -0
- data/gemfiles/rails_4.gemfile +1 -1
- data/gemfiles/rails_4.gemfile.lock +280 -0
- data/gemfiles/rails_5.gemfile +1 -1
- data/gemfiles/rails_5.gemfile.lock +312 -0
- data/gemfiles/rails_edge.gemfile +1 -1
- data/gemfiles/rails_edge.gemfile.lock +335 -0
- data/lib/grape.rb +2 -1
- data/lib/grape/config.rb +32 -0
- data/lib/grape/endpoint.rb +9 -1
- data/lib/grape/locale/en.yml +1 -0
- data/lib/grape/request.rb +1 -1
- data/lib/grape/validations/types/file.rb +1 -1
- data/lib/grape/validations/validators/as.rb +0 -1
- data/lib/grape/validations/validators/same_as.rb +23 -0
- data/lib/grape/version.rb +1 -1
- data/pkg/grape-1.2.0.gem +0 -0
- data/pkg/grape-1.2.1.gem +0 -0
- data/spec/grape/config_spec.rb +17 -0
- data/spec/grape/request_spec.rb +24 -0
- data/spec/grape/validations/params_scope_spec.rb +10 -0
- data/spec/grape/validations/validators/coerce_spec.rb +4 -0
- data/spec/grape/validations/validators/same_as_spec.rb +63 -0
- data/spec/spec_helper.rb +1 -0
- metadata +102 -92
- data/pkg/grape-0.19.1.gem +0 -0
- data/pkg/grape-1.0.1.gem +0 -0
- data/pkg/grape-1.0.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf4747c1023b97c40ff8c8d55922dbcc0c74b7220569115581a292444a59acad
|
4
|
+
data.tar.gz: 80154efa20b201e72981129afadc8b09f06c4b9ed93798500f4df7355b528113
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71ea1e0d3b268ea8a28a522944a0db399c1301964d8f2543488fd81aa15f131cf78cc6091b0dfebd3ecc438e7674c618a916dd9bb287c591821af6c5ce77b308
|
7
|
+
data.tar.gz: b9f02ea1cf3e1c5a55ab481d3e1e37684fbc104ab126422f44b12721508198722da96825b7721fe494bb87e533451dc8d9c53e87f758507f0734a97cb937ac6a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
### 1.2.4 (Next)
|
2
|
+
|
3
|
+
#### Features
|
4
|
+
|
5
|
+
* Your contribution here.
|
6
|
+
|
7
|
+
#### Fixes
|
8
|
+
|
9
|
+
* Your contribution here.
|
10
|
+
|
11
|
+
### 1.2.3 (2019/01/16)
|
12
|
+
|
13
|
+
#### Features
|
14
|
+
|
15
|
+
* [#1850](https://github.com/ruby-grape/grape/pull/1850): Adds `same_as` validator - [@glaucocustodio](https://github.com/glaucocustodio).
|
16
|
+
* [#1833](https://github.com/ruby-grape/grape/pull/1833): Allows to set the `ParamBuilder` globally - [@myxoh](https://github.com/myxoh).
|
17
|
+
|
18
|
+
#### Fixes
|
19
|
+
|
20
|
+
* [#1852](https://github.com/ruby-grape/grape/pull/1852): `allow_blank` called after `as` when the original param is not blank - [@glaucocustodio](https://github.com/glaucocustodio).
|
21
|
+
* [#1844](https://github.com/ruby-grape/grape/pull/1844): Enforce `:tempfile` to be a `Tempfile` object in `File` validator - [@Nyangawa](https://github.com/Nyangawa).
|
22
|
+
|
1
23
|
### 1.2.2 (2018/12/07)
|
2
24
|
|
3
25
|
#### Features
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
grape (1.2.
|
4
|
+
grape (1.2.3)
|
5
5
|
activesupport
|
6
6
|
builder
|
7
7
|
mustermann-grape (~> 1.0.0)
|
@@ -12,9 +12,9 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (5.
|
15
|
+
activesupport (5.2.2)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
-
i18n (
|
17
|
+
i18n (>= 0.7, < 2)
|
18
18
|
minitest (~> 5.1)
|
19
19
|
tzinfo (~> 1.1)
|
20
20
|
addressable (2.5.2)
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
bundler
|
24
24
|
rake
|
25
25
|
thor (>= 0.14.0)
|
26
|
-
ast (2.
|
26
|
+
ast (2.4.0)
|
27
27
|
axiom-types (0.1.1)
|
28
28
|
descendants_tracker (~> 0.0.4)
|
29
29
|
ice_nine (~> 0.11.0)
|
@@ -40,16 +40,16 @@ GEM
|
|
40
40
|
descendants_tracker (~> 0.0.1)
|
41
41
|
colored (1.2)
|
42
42
|
colored2 (3.1.2)
|
43
|
-
concurrent-ruby (1.
|
43
|
+
concurrent-ruby (1.1.4)
|
44
44
|
cookiejar (0.3.3)
|
45
45
|
cork (0.3.0)
|
46
46
|
colored2 (~> 3.1)
|
47
|
-
|
48
|
-
json (
|
49
|
-
simplecov (~> 0.
|
50
|
-
term-ansicolor (~> 1.
|
51
|
-
thor (~> 0.
|
52
|
-
tins (~> 1.
|
47
|
+
coveralls_reborn (0.12.0)
|
48
|
+
json (~> 2.1)
|
49
|
+
simplecov (~> 0.16.1)
|
50
|
+
term-ansicolor (~> 1.6)
|
51
|
+
thor (~> 0.20.0)
|
52
|
+
tins (~> 1.16)
|
53
53
|
danger (4.0.5)
|
54
54
|
claide (~> 1.0)
|
55
55
|
claide-plugins (>= 0.9.2)
|
@@ -72,19 +72,19 @@ GEM
|
|
72
72
|
descendants_tracker (0.0.4)
|
73
73
|
thread_safe (~> 0.3, >= 0.3.1)
|
74
74
|
diff-lcs (1.3)
|
75
|
-
docile (1.1
|
75
|
+
docile (1.3.1)
|
76
76
|
equalizer (0.0.11)
|
77
|
-
faraday (0.
|
77
|
+
faraday (0.15.4)
|
78
78
|
multipart-post (>= 1.2, < 3)
|
79
79
|
faraday-http-cache (1.3.1)
|
80
80
|
faraday (~> 0.8)
|
81
|
-
ffi (1.
|
81
|
+
ffi (1.10.0)
|
82
82
|
formatador (0.2.5)
|
83
|
-
git (1.
|
84
|
-
grape-entity (0.
|
85
|
-
activesupport (>=
|
83
|
+
git (1.5.0)
|
84
|
+
grape-entity (0.7.1)
|
85
|
+
activesupport (>= 4.0)
|
86
86
|
multi_json (>= 1.3.2)
|
87
|
-
guard (2.
|
87
|
+
guard (2.15.0)
|
88
88
|
formatador (>= 0.2.4)
|
89
89
|
listen (>= 2.7, < 4.0)
|
90
90
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -101,23 +101,23 @@ GEM
|
|
101
101
|
guard-rubocop (1.3.0)
|
102
102
|
guard (~> 2.0)
|
103
103
|
rubocop (~> 0.20)
|
104
|
-
hashie (3.
|
105
|
-
i18n (
|
104
|
+
hashie (3.6.0)
|
105
|
+
i18n (1.5.2)
|
106
106
|
concurrent-ruby (~> 1.0)
|
107
107
|
ice_nine (0.11.2)
|
108
108
|
json (2.1.0)
|
109
|
-
kramdown (1.
|
109
|
+
kramdown (1.17.0)
|
110
110
|
listen (3.1.5)
|
111
111
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
112
112
|
rb-inotify (~> 0.9, >= 0.9.7)
|
113
113
|
ruby_dep (~> 1.2)
|
114
|
-
lumberjack (1.0.
|
114
|
+
lumberjack (1.0.13)
|
115
115
|
maruku (0.7.3)
|
116
|
-
method_source (0.9.
|
117
|
-
mime-types (3.
|
116
|
+
method_source (0.9.2)
|
117
|
+
mime-types (3.2.2)
|
118
118
|
mime-types-data (~> 3.2015)
|
119
|
-
mime-types-data (3.
|
120
|
-
minitest (5.11.
|
119
|
+
mime-types-data (3.2018.0812)
|
120
|
+
minitest (5.11.3)
|
121
121
|
multi_json (1.13.1)
|
122
122
|
multipart-post (2.0.0)
|
123
123
|
mustermann (1.0.3)
|
@@ -128,18 +128,18 @@ GEM
|
|
128
128
|
notiffany (0.1.1)
|
129
129
|
nenv (~> 0.1)
|
130
130
|
shellany (~> 0.0)
|
131
|
-
octokit (4.
|
131
|
+
octokit (4.13.0)
|
132
132
|
sawyer (~> 0.8.0, >= 0.5.3)
|
133
133
|
open4 (1.3.4)
|
134
134
|
parallel (1.12.1)
|
135
|
-
parser (2.
|
136
|
-
ast (~> 2.
|
137
|
-
powerpack (0.1.
|
138
|
-
pry (0.
|
135
|
+
parser (2.6.0.0)
|
136
|
+
ast (~> 2.4.0)
|
137
|
+
powerpack (0.1.2)
|
138
|
+
pry (0.12.2)
|
139
139
|
coderay (~> 1.1.0)
|
140
140
|
method_source (~> 0.9.0)
|
141
|
-
public_suffix (3.0.
|
142
|
-
rack (2.0.
|
141
|
+
public_suffix (3.0.3)
|
142
|
+
rack (2.0.6)
|
143
143
|
rack-accept (0.4.5)
|
144
144
|
rack (>= 0.4)
|
145
145
|
rack-jsonp (1.3.1)
|
@@ -148,23 +148,23 @@ GEM
|
|
148
148
|
rack (>= 1.0)
|
149
149
|
rainbow (2.2.2)
|
150
150
|
rake
|
151
|
-
rake (12.3.
|
152
|
-
rb-fsevent (0.10.
|
153
|
-
rb-inotify (0.
|
154
|
-
ffi (
|
155
|
-
rspec (3.
|
156
|
-
rspec-core (~> 3.
|
157
|
-
rspec-expectations (~> 3.
|
158
|
-
rspec-mocks (~> 3.
|
159
|
-
rspec-core (3.
|
160
|
-
rspec-support (~> 3.
|
161
|
-
rspec-expectations (3.
|
151
|
+
rake (12.3.2)
|
152
|
+
rb-fsevent (0.10.3)
|
153
|
+
rb-inotify (0.10.0)
|
154
|
+
ffi (~> 1.0)
|
155
|
+
rspec (3.8.0)
|
156
|
+
rspec-core (~> 3.8.0)
|
157
|
+
rspec-expectations (~> 3.8.0)
|
158
|
+
rspec-mocks (~> 3.8.0)
|
159
|
+
rspec-core (3.8.0)
|
160
|
+
rspec-support (~> 3.8.0)
|
161
|
+
rspec-expectations (3.8.2)
|
162
162
|
diff-lcs (>= 1.2.0, < 2.0)
|
163
|
-
rspec-support (~> 3.
|
164
|
-
rspec-mocks (3.
|
163
|
+
rspec-support (~> 3.8.0)
|
164
|
+
rspec-mocks (3.8.0)
|
165
165
|
diff-lcs (>= 1.2.0, < 2.0)
|
166
|
-
rspec-support (~> 3.
|
167
|
-
rspec-support (3.
|
166
|
+
rspec-support (~> 3.8.0)
|
167
|
+
rspec-support (3.8.0)
|
168
168
|
rubocop (0.51.0)
|
169
169
|
parallel (~> 1.10)
|
170
170
|
parser (>= 2.3.3.1, < 3.0)
|
@@ -175,27 +175,27 @@ GEM
|
|
175
175
|
ruby-grape-danger (0.1.1)
|
176
176
|
danger (~> 4.0.1)
|
177
177
|
danger-changelog (~> 0.2.0)
|
178
|
-
ruby-progressbar (1.
|
178
|
+
ruby-progressbar (1.10.0)
|
179
179
|
ruby_dep (1.5.0)
|
180
180
|
sawyer (0.8.1)
|
181
181
|
addressable (>= 2.3.5, < 2.6)
|
182
182
|
faraday (~> 0.8, < 1.0)
|
183
183
|
shellany (0.0.1)
|
184
|
-
simplecov (0.
|
185
|
-
docile (~> 1.1
|
184
|
+
simplecov (0.16.1)
|
185
|
+
docile (~> 1.1)
|
186
186
|
json (>= 1.8, < 3)
|
187
187
|
simplecov-html (~> 0.10.0)
|
188
188
|
simplecov-html (0.10.2)
|
189
|
-
term-ansicolor (1.
|
189
|
+
term-ansicolor (1.7.0)
|
190
190
|
tins (~> 1.0)
|
191
191
|
terminal-table (1.8.0)
|
192
192
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
193
|
-
thor (0.
|
193
|
+
thor (0.20.3)
|
194
194
|
thread_safe (0.3.6)
|
195
|
-
tins (1.
|
196
|
-
tzinfo (1.2.
|
195
|
+
tins (1.20.2)
|
196
|
+
tzinfo (1.2.5)
|
197
197
|
thread_safe (~> 0.1)
|
198
|
-
unicode-display_width (1.
|
198
|
+
unicode-display_width (1.4.1)
|
199
199
|
virtus (1.0.5)
|
200
200
|
axiom-types (~> 0.1)
|
201
201
|
coercible (~> 1.0)
|
@@ -210,7 +210,7 @@ DEPENDENCIES
|
|
210
210
|
benchmark-ips
|
211
211
|
bundler
|
212
212
|
cookiejar
|
213
|
-
|
213
|
+
coveralls_reborn
|
214
214
|
danger-toc (~> 0.1.2)
|
215
215
|
grape!
|
216
216
|
grape-entity (~> 0.6)
|
@@ -228,4 +228,4 @@ DEPENDENCIES
|
|
228
228
|
ruby-grape-danger (~> 0.1.0)
|
229
229
|
|
230
230
|
BUNDLED WITH
|
231
|
-
1.
|
231
|
+
1.16.2
|
data/README.md
CHANGED
@@ -22,13 +22,14 @@
|
|
22
22
|
- [Rails](#rails)
|
23
23
|
- [Modules](#modules)
|
24
24
|
- [Remounting](#remounting)
|
25
|
-
- [Configuration](#configuration)
|
25
|
+
- [Mount Configuration](#mount-configuration)
|
26
26
|
- [Versioning](#versioning)
|
27
27
|
- [Path](#path)
|
28
28
|
- [Header](#header)
|
29
29
|
- [Accept-Version Header](#accept-version-header)
|
30
30
|
- [Param](#param)
|
31
31
|
- [Describing Methods](#describing-methods)
|
32
|
+
- [Configuration](#configuration)
|
32
33
|
- [Parameters](#parameters)
|
33
34
|
- [Params Class](#params-class)
|
34
35
|
- [Declared](#declared)
|
@@ -49,6 +50,7 @@
|
|
49
50
|
- [allow_blank](#allow_blank)
|
50
51
|
- [values](#values)
|
51
52
|
- [except_values](#except_values)
|
53
|
+
- [same_as](#same_as)
|
52
54
|
- [regexp](#regexp)
|
53
55
|
- [mutually_exclusive](#mutually_exclusive)
|
54
56
|
- [exactly_one_of](#exactly_one_of)
|
@@ -61,6 +63,7 @@
|
|
61
63
|
- [I18n](#i18n)
|
62
64
|
- [Custom Validation messages](#custom-validation-messages)
|
63
65
|
- [presence, allow_blank, values, regexp](#presence-allow_blank-values-regexp)
|
66
|
+
- [same_as](#same_as-1)
|
64
67
|
- [all_or_none_of](#all_or_none_of-1)
|
65
68
|
- [mutually_exclusive](#mutually_exclusive-1)
|
66
69
|
- [exactly_one_of](#exactly_one_of-1)
|
@@ -146,8 +149,9 @@ content negotiation, versioning and much more.
|
|
146
149
|
|
147
150
|
## Stable Release
|
148
151
|
|
149
|
-
You're reading the documentation for the
|
152
|
+
You're reading the documentation for the next release of Grape, which should be **1.2.4**.
|
150
153
|
Please read [UPGRADING](UPGRADING.md) when upgrading from a previous version.
|
154
|
+
The current stable release is [1.2.3](https://github.com/ruby-grape/grape/blob/v1.2.3/README.md).
|
151
155
|
|
152
156
|
## Project Resources
|
153
157
|
|
@@ -394,7 +398,7 @@ end
|
|
394
398
|
|
395
399
|
Assuming that the post and comment endpoints are mounted in `/posts` and `/comments`, you should now be able to do `get /posts/votes`, `post /posts/votes`, `get /comments/votes`.
|
396
400
|
|
397
|
-
### Configuration
|
401
|
+
### Mount Configuration
|
398
402
|
|
399
403
|
You can configure remountable endpoints for small details changing according to where they are mounted.
|
400
404
|
|
@@ -540,6 +544,29 @@ end
|
|
540
544
|
|
541
545
|
[grape-swagger]: https://github.com/ruby-grape/grape-swagger
|
542
546
|
|
547
|
+
## Configuration
|
548
|
+
|
549
|
+
Use `Grape.configure` to set up global settings at load time.
|
550
|
+
Currently the configurable settings are:
|
551
|
+
|
552
|
+
* `param_builder`: Sets the [Parameter Builder](#parameters), defaults to `Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder`.
|
553
|
+
|
554
|
+
To change a setting value make sure that at some point on load time the code the following code runs
|
555
|
+
|
556
|
+
```ruby
|
557
|
+
Grape.configure do |config|
|
558
|
+
config.setting = value
|
559
|
+
end
|
560
|
+
```
|
561
|
+
|
562
|
+
For example, for the `param_builder`, the following code could run in an initializers:
|
563
|
+
|
564
|
+
```ruby
|
565
|
+
Grape.configure do |config|
|
566
|
+
config.param_builder = Grape::Extensions::Hashie::Mash::ParamBuilder
|
567
|
+
end
|
568
|
+
```
|
569
|
+
|
543
570
|
## Parameters
|
544
571
|
|
545
572
|
Request parameters are available through the `params` hash object. This includes `GET`, `POST`
|
@@ -617,6 +644,8 @@ params do
|
|
617
644
|
end
|
618
645
|
```
|
619
646
|
|
647
|
+
Or globally with the [Configuration](#configuration) `Grape.configure.param_builder`.
|
648
|
+
|
620
649
|
In the example above, `params["color"]` will return `nil` since `params` is a plain `Hash`.
|
621
650
|
|
622
651
|
Available parameter builders are `Grape::Extensions::Hash::ParamBuilder`, `Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder` and `Grape::Extensions::Hashie::Mash::ParamBuilder`.
|
@@ -1324,6 +1353,17 @@ params do
|
|
1324
1353
|
end
|
1325
1354
|
```
|
1326
1355
|
|
1356
|
+
#### `same_as`
|
1357
|
+
|
1358
|
+
A `same_as` option can be given to ensure that values of parameters match.
|
1359
|
+
|
1360
|
+
```ruby
|
1361
|
+
params do
|
1362
|
+
requires :password
|
1363
|
+
requires :password_confirmation, same_as: :password
|
1364
|
+
end
|
1365
|
+
```
|
1366
|
+
|
1327
1367
|
#### `regexp`
|
1328
1368
|
|
1329
1369
|
Parameters can be restricted to match a specific regular expression with the `:regexp` option. If the value
|
@@ -1636,6 +1676,15 @@ params do
|
|
1636
1676
|
end
|
1637
1677
|
```
|
1638
1678
|
|
1679
|
+
#### `same_as`
|
1680
|
+
|
1681
|
+
```ruby
|
1682
|
+
params do
|
1683
|
+
requires :password
|
1684
|
+
requires :password_confirmation, same_as: { value: :password, message: 'not match' }
|
1685
|
+
end
|
1686
|
+
```
|
1687
|
+
|
1639
1688
|
#### `all_or_none_of`
|
1640
1689
|
|
1641
1690
|
```ruby
|
data/gemfiles/multi_json.gemfile
CHANGED
data/gemfiles/multi_xml.gemfile
CHANGED
@@ -0,0 +1,232 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
grape (1.1.1)
|
5
|
+
activesupport
|
6
|
+
builder
|
7
|
+
mustermann-grape (~> 1.0.0)
|
8
|
+
rack (>= 1.3.0)
|
9
|
+
rack-accept
|
10
|
+
virtus (>= 1.0.0)
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: https://rubygems.org/
|
14
|
+
specs:
|
15
|
+
activesupport (5.2.1)
|
16
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
+
i18n (>= 0.7, < 2)
|
18
|
+
minitest (~> 5.1)
|
19
|
+
tzinfo (~> 1.1)
|
20
|
+
addressable (2.5.2)
|
21
|
+
public_suffix (>= 2.0.2, < 4.0)
|
22
|
+
appraisal (2.2.0)
|
23
|
+
bundler
|
24
|
+
rake
|
25
|
+
thor (>= 0.14.0)
|
26
|
+
ast (2.4.0)
|
27
|
+
axiom-types (0.1.1)
|
28
|
+
descendants_tracker (~> 0.0.4)
|
29
|
+
ice_nine (~> 0.11.0)
|
30
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
31
|
+
benchmark-ips (2.7.2)
|
32
|
+
builder (3.2.3)
|
33
|
+
claide (1.0.2)
|
34
|
+
claide-plugins (0.9.2)
|
35
|
+
cork
|
36
|
+
nap
|
37
|
+
open4 (~> 1.3)
|
38
|
+
coderay (1.1.2)
|
39
|
+
coercible (1.0.0)
|
40
|
+
descendants_tracker (~> 0.0.1)
|
41
|
+
colored (1.2)
|
42
|
+
colored2 (3.1.2)
|
43
|
+
concurrent-ruby (1.0.5)
|
44
|
+
cookiejar (0.3.3)
|
45
|
+
cork (0.3.0)
|
46
|
+
colored2 (~> 3.1)
|
47
|
+
coveralls (0.8.22)
|
48
|
+
json (>= 1.8, < 3)
|
49
|
+
simplecov (~> 0.16.1)
|
50
|
+
term-ansicolor (~> 1.3)
|
51
|
+
thor (~> 0.19.4)
|
52
|
+
tins (~> 1.6)
|
53
|
+
danger (4.0.5)
|
54
|
+
claide (~> 1.0)
|
55
|
+
claide-plugins (>= 0.9.2)
|
56
|
+
colored (~> 1.2)
|
57
|
+
cork (~> 0.1)
|
58
|
+
faraday (~> 0.9)
|
59
|
+
faraday-http-cache (~> 1.0)
|
60
|
+
git (~> 1)
|
61
|
+
kramdown (~> 1.5)
|
62
|
+
octokit (~> 4.2)
|
63
|
+
terminal-table (~> 1)
|
64
|
+
danger-changelog (0.2.1)
|
65
|
+
danger-plugin-api (~> 1.0)
|
66
|
+
danger-plugin-api (1.0.0)
|
67
|
+
danger (> 2.0)
|
68
|
+
danger-toc (0.1.3)
|
69
|
+
activesupport
|
70
|
+
danger-plugin-api (~> 1.0)
|
71
|
+
kramdown
|
72
|
+
descendants_tracker (0.0.4)
|
73
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
74
|
+
diff-lcs (1.3)
|
75
|
+
docile (1.3.1)
|
76
|
+
equalizer (0.0.11)
|
77
|
+
faraday (0.15.3)
|
78
|
+
multipart-post (>= 1.2, < 3)
|
79
|
+
faraday-http-cache (1.3.1)
|
80
|
+
faraday (~> 0.8)
|
81
|
+
ffi (1.9.25)
|
82
|
+
formatador (0.2.5)
|
83
|
+
git (1.5.0)
|
84
|
+
grape-entity (0.7.1)
|
85
|
+
activesupport (>= 4.0)
|
86
|
+
multi_json (>= 1.3.2)
|
87
|
+
guard (2.14.2)
|
88
|
+
formatador (>= 0.2.4)
|
89
|
+
listen (>= 2.7, < 4.0)
|
90
|
+
lumberjack (>= 1.0.12, < 2.0)
|
91
|
+
nenv (~> 0.1)
|
92
|
+
notiffany (~> 0.0)
|
93
|
+
pry (>= 0.9.12)
|
94
|
+
shellany (~> 0.0)
|
95
|
+
thor (>= 0.18.1)
|
96
|
+
guard-compat (1.2.1)
|
97
|
+
guard-rspec (4.7.3)
|
98
|
+
guard (~> 2.1)
|
99
|
+
guard-compat (~> 1.1)
|
100
|
+
rspec (>= 2.99.0, < 4.0)
|
101
|
+
guard-rubocop (1.3.0)
|
102
|
+
guard (~> 2.0)
|
103
|
+
rubocop (~> 0.20)
|
104
|
+
hashie (3.6.0)
|
105
|
+
i18n (1.1.1)
|
106
|
+
concurrent-ruby (~> 1.0)
|
107
|
+
ice_nine (0.11.2)
|
108
|
+
json (2.1.0)
|
109
|
+
kramdown (1.17.0)
|
110
|
+
listen (3.1.5)
|
111
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
112
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
113
|
+
ruby_dep (~> 1.2)
|
114
|
+
lumberjack (1.0.13)
|
115
|
+
maruku (0.7.3)
|
116
|
+
method_source (0.9.0)
|
117
|
+
mime-types (3.2.2)
|
118
|
+
mime-types-data (~> 3.2015)
|
119
|
+
mime-types-data (3.2018.0812)
|
120
|
+
minitest (5.11.3)
|
121
|
+
multi_json (1.13.1)
|
122
|
+
multipart-post (2.0.0)
|
123
|
+
mustermann (1.0.3)
|
124
|
+
mustermann-grape (1.0.0)
|
125
|
+
mustermann (~> 1.0.0)
|
126
|
+
nap (1.1.0)
|
127
|
+
nenv (0.3.0)
|
128
|
+
notiffany (0.1.1)
|
129
|
+
nenv (~> 0.1)
|
130
|
+
shellany (~> 0.0)
|
131
|
+
octokit (4.13.0)
|
132
|
+
sawyer (~> 0.8.0, >= 0.5.3)
|
133
|
+
open4 (1.3.4)
|
134
|
+
parallel (1.12.1)
|
135
|
+
parser (2.5.1.2)
|
136
|
+
ast (~> 2.4.0)
|
137
|
+
powerpack (0.1.2)
|
138
|
+
pry (0.11.3)
|
139
|
+
coderay (~> 1.1.0)
|
140
|
+
method_source (~> 0.9.0)
|
141
|
+
public_suffix (3.0.3)
|
142
|
+
rack (1.5.2)
|
143
|
+
rack-accept (0.4.5)
|
144
|
+
rack (>= 0.4)
|
145
|
+
rack-jsonp (1.3.1)
|
146
|
+
rack
|
147
|
+
rack-test (0.6.3)
|
148
|
+
rack (>= 1.0)
|
149
|
+
rainbow (2.2.2)
|
150
|
+
rake
|
151
|
+
rake (12.3.1)
|
152
|
+
rb-fsevent (0.10.3)
|
153
|
+
rb-inotify (0.9.10)
|
154
|
+
ffi (>= 0.5.0, < 2)
|
155
|
+
rspec (3.8.0)
|
156
|
+
rspec-core (~> 3.8.0)
|
157
|
+
rspec-expectations (~> 3.8.0)
|
158
|
+
rspec-mocks (~> 3.8.0)
|
159
|
+
rspec-core (3.8.0)
|
160
|
+
rspec-support (~> 3.8.0)
|
161
|
+
rspec-expectations (3.8.2)
|
162
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
163
|
+
rspec-support (~> 3.8.0)
|
164
|
+
rspec-mocks (3.8.0)
|
165
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
166
|
+
rspec-support (~> 3.8.0)
|
167
|
+
rspec-support (3.8.0)
|
168
|
+
rubocop (0.51.0)
|
169
|
+
parallel (~> 1.10)
|
170
|
+
parser (>= 2.3.3.1, < 3.0)
|
171
|
+
powerpack (~> 0.1)
|
172
|
+
rainbow (>= 2.2.2, < 3.0)
|
173
|
+
ruby-progressbar (~> 1.7)
|
174
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
175
|
+
ruby-grape-danger (0.1.1)
|
176
|
+
danger (~> 4.0.1)
|
177
|
+
danger-changelog (~> 0.2.0)
|
178
|
+
ruby-progressbar (1.10.0)
|
179
|
+
ruby_dep (1.5.0)
|
180
|
+
sawyer (0.8.1)
|
181
|
+
addressable (>= 2.3.5, < 2.6)
|
182
|
+
faraday (~> 0.8, < 1.0)
|
183
|
+
shellany (0.0.1)
|
184
|
+
simplecov (0.16.1)
|
185
|
+
docile (~> 1.1)
|
186
|
+
json (>= 1.8, < 3)
|
187
|
+
simplecov-html (~> 0.10.0)
|
188
|
+
simplecov-html (0.10.2)
|
189
|
+
term-ansicolor (1.6.0)
|
190
|
+
tins (~> 1.0)
|
191
|
+
terminal-table (1.8.0)
|
192
|
+
unicode-display_width (~> 1.1, >= 1.1.1)
|
193
|
+
thor (0.19.4)
|
194
|
+
thread_safe (0.3.6)
|
195
|
+
tins (1.17.0)
|
196
|
+
tzinfo (1.2.5)
|
197
|
+
thread_safe (~> 0.1)
|
198
|
+
unicode-display_width (1.4.0)
|
199
|
+
virtus (1.0.5)
|
200
|
+
axiom-types (~> 0.1)
|
201
|
+
coercible (~> 1.0)
|
202
|
+
descendants_tracker (~> 0.0, >= 0.0.3)
|
203
|
+
equalizer (~> 0.0, >= 0.0.9)
|
204
|
+
|
205
|
+
PLATFORMS
|
206
|
+
ruby
|
207
|
+
|
208
|
+
DEPENDENCIES
|
209
|
+
appraisal
|
210
|
+
benchmark-ips
|
211
|
+
bundler
|
212
|
+
cookiejar
|
213
|
+
coveralls (~> 0.8.17)
|
214
|
+
danger-toc (~> 0.1.2)
|
215
|
+
grape!
|
216
|
+
grape-entity (~> 0.6)
|
217
|
+
guard
|
218
|
+
guard-rspec
|
219
|
+
guard-rubocop
|
220
|
+
hashie
|
221
|
+
maruku
|
222
|
+
mime-types
|
223
|
+
rack (= 1.5.2)
|
224
|
+
rack-jsonp
|
225
|
+
rack-test (~> 0.6.3)
|
226
|
+
rake
|
227
|
+
rspec (~> 3.0)
|
228
|
+
rubocop (= 0.51.0)
|
229
|
+
ruby-grape-danger (~> 0.1.0)
|
230
|
+
|
231
|
+
BUNDLED WITH
|
232
|
+
1.16.2
|