grape-app 0.3.17 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -5
- data/Gemfile.lock +37 -38
- data/grape-app.gemspec +2 -3
- data/lib/grape/app.rb +0 -1
- data/lib/grape/app/initializers/pre.rb +0 -3
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2107f8caea8b19634096f3ff7d4c87fced7f2a52
|
4
|
+
data.tar.gz: 9f10c0b9936ef77734dd20f96c2a0379628e1708
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08acf746d8e72a2345d8ddbbc896650ab8c651f52eb84d03f97c8d6e72dfa49289980d13f786a7d9469996e5003376b900e54f4f1e7124ea1342bb3f00be0bc3'
|
7
|
+
data.tar.gz: 51112edc7714560c18cd5390c87bccc50f9a8eeb29eec43e217050b15490983a927bded528c17b250a8de22924bf8cfc9c4b0cfef30ff11e6504ed59b4f68e30
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
grape-app (0.
|
4
|
+
grape-app (0.4.0)
|
5
5
|
activesupport
|
6
|
-
activesupport-json_encoder
|
7
6
|
grape
|
8
7
|
grape-entity
|
9
8
|
hashie-forbidden_attributes
|
@@ -14,70 +13,70 @@ PATH
|
|
14
13
|
GEM
|
15
14
|
remote: https://rubygems.org/
|
16
15
|
specs:
|
17
|
-
activesupport (
|
16
|
+
activesupport (5.0.1)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
18
|
i18n (~> 0.7)
|
19
|
-
json (~> 1.7, >= 1.7.7)
|
20
19
|
minitest (~> 5.1)
|
21
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
22
20
|
tzinfo (~> 1.1)
|
23
|
-
activesupport-json_encoder (1.1.0)
|
24
|
-
activesupport (>= 4.1.0, < 5.0)
|
25
21
|
axiom-types (0.1.1)
|
26
22
|
descendants_tracker (~> 0.0.4)
|
27
23
|
ice_nine (~> 0.11.0)
|
28
24
|
thread_safe (~> 0.3, >= 0.3.1)
|
29
|
-
builder (3.2.
|
25
|
+
builder (3.2.3)
|
30
26
|
coercible (1.0.0)
|
31
27
|
descendants_tracker (~> 0.0.1)
|
28
|
+
concurrent-ruby (1.0.4)
|
32
29
|
descendants_tracker (0.0.4)
|
33
30
|
thread_safe (~> 0.3, >= 0.3.1)
|
34
|
-
diff-lcs (1.
|
31
|
+
diff-lcs (1.3)
|
35
32
|
equalizer (0.0.11)
|
36
|
-
grape (0.
|
33
|
+
grape (0.19.1)
|
37
34
|
activesupport
|
38
35
|
builder
|
39
36
|
hashie (>= 2.1.0)
|
40
37
|
multi_json (>= 1.3.2)
|
41
38
|
multi_xml (>= 0.5.2)
|
39
|
+
mustermann-grape (~> 0.4.0)
|
42
40
|
rack (>= 1.3.0)
|
43
41
|
rack-accept
|
44
|
-
rack-mount
|
45
42
|
virtus (>= 1.0.0)
|
46
|
-
grape-entity (0.
|
47
|
-
activesupport
|
43
|
+
grape-entity (0.6.1)
|
44
|
+
activesupport (>= 5.0.0)
|
48
45
|
multi_json (>= 1.3.2)
|
49
|
-
hashie (3.
|
46
|
+
hashie (3.5.3)
|
50
47
|
hashie-forbidden_attributes (0.1.1)
|
51
48
|
hashie (>= 3.0)
|
52
|
-
i18n (0.
|
53
|
-
ice_nine (0.11.
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
49
|
+
i18n (0.8.0)
|
50
|
+
ice_nine (0.11.2)
|
51
|
+
minitest (5.10.1)
|
52
|
+
multi_json (1.12.1)
|
53
|
+
multi_xml (0.6.0)
|
54
|
+
mustermann (0.4.0)
|
55
|
+
tool (~> 0.2)
|
56
|
+
mustermann-grape (0.4.0)
|
57
|
+
mustermann (= 0.4.0)
|
58
|
+
rack (2.0.1)
|
59
59
|
rack-accept (0.4.5)
|
60
60
|
rack (>= 0.4)
|
61
|
-
rack-cors (0.4.
|
62
|
-
rack-mount (0.8.3)
|
63
|
-
rack (>= 1.0.0)
|
61
|
+
rack-cors (0.4.1)
|
64
62
|
rack-ssl-enforcer (0.2.9)
|
65
|
-
rake (
|
66
|
-
rspec (3.
|
67
|
-
rspec-core (~> 3.
|
68
|
-
rspec-expectations (~> 3.
|
69
|
-
rspec-mocks (~> 3.
|
70
|
-
rspec-core (3.4
|
71
|
-
rspec-support (~> 3.
|
72
|
-
rspec-expectations (3.
|
63
|
+
rake (12.0.0)
|
64
|
+
rspec (3.5.0)
|
65
|
+
rspec-core (~> 3.5.0)
|
66
|
+
rspec-expectations (~> 3.5.0)
|
67
|
+
rspec-mocks (~> 3.5.0)
|
68
|
+
rspec-core (3.5.4)
|
69
|
+
rspec-support (~> 3.5.0)
|
70
|
+
rspec-expectations (3.5.0)
|
73
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
-
rspec-support (~> 3.
|
75
|
-
rspec-mocks (3.
|
72
|
+
rspec-support (~> 3.5.0)
|
73
|
+
rspec-mocks (3.5.0)
|
76
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.
|
78
|
-
rspec-support (3.
|
79
|
-
thor (0.19.
|
75
|
+
rspec-support (~> 3.5.0)
|
76
|
+
rspec-support (3.5.0)
|
77
|
+
thor (0.19.4)
|
80
78
|
thread_safe (0.3.5)
|
79
|
+
tool (0.2.3)
|
81
80
|
tzinfo (1.2.2)
|
82
81
|
thread_safe (~> 0.1)
|
83
82
|
virtus (1.0.5)
|
@@ -96,4 +95,4 @@ DEPENDENCIES
|
|
96
95
|
rspec
|
97
96
|
|
98
97
|
BUNDLED WITH
|
99
|
-
1.
|
98
|
+
1.14.3
|
data/grape-app.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'grape-app'
|
5
|
-
s.version = '0.
|
5
|
+
s.version = '0.4.0'
|
6
6
|
s.authors = ['Black Square Media Ltd']
|
7
7
|
s.email = ['info@blacksquaremedia.com']
|
8
8
|
s.summary = %{Stanalone Grape API apps}
|
@@ -14,12 +14,11 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.test_files = `git ls-files -z -- spec/*`.split("\x0")
|
15
15
|
s.executables = ['grape-app']
|
16
16
|
s.require_paths = ['lib']
|
17
|
-
s.required_ruby_version = '>=
|
17
|
+
s.required_ruby_version = '>= 2.2'
|
18
18
|
|
19
19
|
s.add_dependency 'grape'
|
20
20
|
s.add_dependency 'grape-entity'
|
21
21
|
s.add_dependency 'activesupport'
|
22
|
-
s.add_dependency 'activesupport-json_encoder'
|
23
22
|
s.add_dependency 'hashie-forbidden_attributes'
|
24
23
|
s.add_dependency 'rack-cors'
|
25
24
|
s.add_dependency 'rack-ssl-enforcer'
|
data/lib/grape/app.rb
CHANGED
@@ -5,7 +5,6 @@ require 'active_support/string_inquirer'
|
|
5
5
|
require 'active_support/configurable'
|
6
6
|
require 'active_support/inflector/methods'
|
7
7
|
require 'active_support/core_ext/time/zones'
|
8
|
-
require 'activesupport/json_encoder'
|
9
8
|
require 'hashie-forbidden_attributes'
|
10
9
|
require 'rack/cors'
|
11
10
|
require 'rack/ssl-enforcer'
|
@@ -1,9 +1,6 @@
|
|
1
1
|
# Set default time-zone
|
2
2
|
Time.zone_default = Time.find_zone!('UTC')
|
3
3
|
|
4
|
-
# Configure big-decimal encoding
|
5
|
-
ActiveSupport.encode_big_decimal_as_string = false
|
6
|
-
|
7
4
|
# Add default I18n paths and set default locale
|
8
5
|
I18n.load_path += Dir[Grape::App.root.join('config', 'locales', '*.{rb,yml}').to_s]
|
9
6
|
I18n.default_locale = :en
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grape
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: activesupport-json_encoder
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: hashie-forbidden_attributes
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
212
|
requirements:
|
227
213
|
- - ">="
|
228
214
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
215
|
+
version: '2.2'
|
230
216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
217
|
requirements:
|
232
218
|
- - ">="
|
@@ -234,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
220
|
version: '0'
|
235
221
|
requirements: []
|
236
222
|
rubyforge_project:
|
237
|
-
rubygems_version: 2.
|
223
|
+
rubygems_version: 2.5.2
|
238
224
|
signing_key:
|
239
225
|
specification_version: 4
|
240
226
|
summary: Stanalone Grape API apps
|