grape-app 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: effa2e15863207418673a02bb1ddd9d8fa91c1aa
4
- data.tar.gz: 75c1501950830a3a7723c15623f7cbb78fdebd39
3
+ metadata.gz: 1b9f297932c7af62473fc98b1ff4fb4c9c7f19de
4
+ data.tar.gz: 9258e5ba0bf183db12da7f90dda253c7d7b64306
5
5
  SHA512:
6
- metadata.gz: 3c5fc45934f21e0189d65a73783f20c1c3469a63c3f84da608fc80b18ff900640f0d97837933dd2ed17cf00ff1b5b9c30b341e84afa95fca972b524c196bc7ca
7
- data.tar.gz: 343751d86b89aca657864c6308dd169b0f90ea9d70c93d089c91efd4742efa2d43eeda0c0c3aef64aef8a516b079eeb4fa196bc7a6a6ed6c4dec06bfa53b5f96
6
+ metadata.gz: 7e82a44730328e281e4d77370c093e040c7d5b3da188c8b5c4e82dbd2a4c7b899aff2f9f3c8f174bf0ebde2bce7c5b61d4fa8abfb64d16388c096a210d631419
7
+ data.tar.gz: 7f710b6ccea628aee279adea44c756276fc6dca05d4bed8fd3dee24f165a7581b81d4d32fb660b7a6ee5ec1738a7425b4606adb6fe2e36cfa140e4919f3e4057
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grape-app (0.4.1)
4
+ grape-app (0.4.2)
5
5
  activesupport
6
6
  grape
7
7
  grape-entity
@@ -13,18 +13,18 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activemodel (5.0.1)
17
- activesupport (= 5.0.1)
18
- activerecord (5.0.1)
19
- activemodel (= 5.0.1)
20
- activesupport (= 5.0.1)
21
- arel (~> 7.0)
22
- activesupport (5.0.1)
16
+ activemodel (5.1.3)
17
+ activesupport (= 5.1.3)
18
+ activerecord (5.1.3)
19
+ activemodel (= 5.1.3)
20
+ activesupport (= 5.1.3)
21
+ arel (~> 8.0)
22
+ activesupport (5.1.3)
23
23
  concurrent-ruby (~> 1.0, >= 1.0.2)
24
24
  i18n (~> 0.7)
25
25
  minitest (~> 5.1)
26
26
  tzinfo (~> 1.1)
27
- arel (7.1.4)
27
+ arel (8.0.0)
28
28
  axiom-types (0.1.1)
29
29
  descendants_tracker (~> 0.0.4)
30
30
  ice_nine (~> 0.11.0)
@@ -32,60 +32,54 @@ GEM
32
32
  builder (3.2.3)
33
33
  coercible (1.0.0)
34
34
  descendants_tracker (~> 0.0.1)
35
- concurrent-ruby (1.0.4)
35
+ concurrent-ruby (1.0.5)
36
36
  descendants_tracker (0.0.4)
37
37
  thread_safe (~> 0.3, >= 0.3.1)
38
38
  diff-lcs (1.3)
39
39
  equalizer (0.0.11)
40
- grape (0.19.1)
40
+ grape (1.0.0)
41
41
  activesupport
42
42
  builder
43
- hashie (>= 2.1.0)
44
- multi_json (>= 1.3.2)
45
- multi_xml (>= 0.5.2)
46
- mustermann-grape (~> 0.4.0)
43
+ mustermann-grape (~> 1.0.0)
47
44
  rack (>= 1.3.0)
48
45
  rack-accept
49
46
  virtus (>= 1.0.0)
50
47
  grape-entity (0.6.1)
51
48
  activesupport (>= 5.0.0)
52
49
  multi_json (>= 1.3.2)
53
- hashie (3.5.4)
50
+ hashie (3.5.6)
54
51
  hashie-forbidden_attributes (0.1.1)
55
52
  hashie (>= 3.0)
56
- i18n (0.8.1)
53
+ i18n (0.8.6)
57
54
  ice_nine (0.11.2)
58
- minitest (5.10.1)
55
+ minitest (5.10.3)
59
56
  multi_json (1.12.1)
60
- multi_xml (0.6.0)
61
- mustermann (0.4.0)
62
- tool (~> 0.2)
63
- mustermann-grape (0.4.0)
64
- mustermann (= 0.4.0)
65
- rack (2.0.1)
57
+ mustermann (1.0.0)
58
+ mustermann-grape (1.0.0)
59
+ mustermann (~> 1.0.0)
60
+ rack (2.0.3)
66
61
  rack-accept (0.4.5)
67
62
  rack (>= 0.4)
68
- rack-cors (0.4.1)
63
+ rack-cors (1.0.1)
69
64
  rack-ssl-enforcer (0.2.9)
70
65
  rake (12.0.0)
71
- rspec (3.5.0)
72
- rspec-core (~> 3.5.0)
73
- rspec-expectations (~> 3.5.0)
74
- rspec-mocks (~> 3.5.0)
75
- rspec-core (3.5.4)
76
- rspec-support (~> 3.5.0)
77
- rspec-expectations (3.5.0)
66
+ rspec (3.6.0)
67
+ rspec-core (~> 3.6.0)
68
+ rspec-expectations (~> 3.6.0)
69
+ rspec-mocks (~> 3.6.0)
70
+ rspec-core (3.6.0)
71
+ rspec-support (~> 3.6.0)
72
+ rspec-expectations (3.6.0)
78
73
  diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.5.0)
80
- rspec-mocks (3.5.0)
74
+ rspec-support (~> 3.6.0)
75
+ rspec-mocks (3.6.0)
81
76
  diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.5.0)
83
- rspec-support (3.5.0)
77
+ rspec-support (~> 3.6.0)
78
+ rspec-support (3.6.0)
84
79
  sqlite3 (1.3.13)
85
80
  thor (0.19.4)
86
81
  thread_safe (0.3.6)
87
- tool (0.2.3)
88
- tzinfo (1.2.2)
82
+ tzinfo (1.2.3)
89
83
  thread_safe (~> 0.1)
90
84
  virtus (1.0.5)
91
85
  axiom-types (~> 0.1)
@@ -105,4 +99,4 @@ DEPENDENCIES
105
99
  sqlite3
106
100
 
107
101
  BUNDLED WITH
108
- 1.14.3
102
+ 1.15.3
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'grape-app'
5
- s.version = '0.4.1'
5
+ s.version = '0.4.2'
6
6
  s.authors = ['Black Square Media Ltd']
7
7
  s.email = ['info@blacksquaremedia.com']
8
8
  s.summary = %{Stanalone Grape API apps}
@@ -26,10 +26,12 @@ namespace :db do
26
26
  task migration: :environment do
27
27
  abort "No NAME specified. Example usage: `rake db:migration NAME=create_widgets`" unless ENV["NAME"]
28
28
 
29
+ migrations_path = ActiveRecord::Migrator.migrations_paths.first
30
+
29
31
  name = ENV["NAME"]
30
- path = File.join(ActiveRecord::Migrator.migrations_path, "#{Time.now.utc.strftime('%Y%m%d%H%M%S')}_#{name}.rb")
32
+ path = File.join(migrations_path, "#{Time.now.utc.strftime('%Y%m%d%H%M%S')}_#{name}.rb")
31
33
 
32
- FileUtils.mkdir_p(ActiveRecord::Migrator.migrations_path)
34
+ FileUtils.mkdir_p(migrations_path)
33
35
  File.write path, <<-MIGRATION.strip_heredoc
34
36
  class #{name.camelize} < ActiveRecord::Migration
35
37
  def change
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'grape-app', path: '../../'
4
- gem 'activerecord'
4
+ gem 'activerecord', require: 'active_record'
@@ -1,3 +1,2 @@
1
1
  ENV['RACK_ENV'] ||= "test"
2
- require 'active_record'
3
2
  require 'grape-app'
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.1
4
+ version: 0.4.2
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: 2017-02-23 00:00:00.000000000 Z
11
+ date: 2017-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grape
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  version: '0'
250
250
  requirements: []
251
251
  rubyforge_project:
252
- rubygems_version: 2.6.8
252
+ rubygems_version: 2.6.10
253
253
  signing_key:
254
254
  specification_version: 4
255
255
  summary: Stanalone Grape API apps