grape-starter 1.2.6 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +22 -0
- data/lib/starter/builder/orms.rb +1 -1
- data/lib/starter/builder/templates/endpoints.rb +2 -0
- data/lib/starter/version.rb +1 -1
- data/template/.rubocop.yml +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a26894e42ff2662719a173e14b263e31673e2d36cb720c21476c507f8ce7c64
|
4
|
+
data.tar.gz: 47f4d1c8049d154566f801c991893a135cd3c6d99f07d6a5138193ab43ba9e97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14a3786d6abf9af32f733a0cd5168ccad2af04c3811143af0cf601572aa8ef51d5f1bbc3e12767c69c70f6789f6c4dc3d4e30cdb4cd061e0159c6e7a30e3dca9
|
7
|
+
data.tar.gz: 1e25c66a61297aaf2fb8baac8055f86a008a80e7f4c8268d97002db78acb29254932b8eec3956eb4eb3e5983e088eb52bfd3304e8cde1db5c0b3f45a064f23df
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
### NEXT
|
2
2
|
|
3
|
+
- your contributions
|
4
|
+
|
5
|
+
### v1.3.0 2020-09-15
|
6
|
+
|
7
|
+
- Fixes migration name. [LeFnord](https://github.com/LeFnord)
|
8
|
+
- Fixes rubocop new cops handling. [LeFnord](https://github.com/LeFnord)
|
9
|
+
|
10
|
+
### v1.2.4--v1.2.6 2020-01-18--2020-08-13
|
11
|
+
|
12
|
+
- Prepapre releaase 1.2.6 [LeFnord](https://github.com/LeFnord)
|
13
|
+
- Updates used default rails deps versions. [LeFnord](https://github.com/LeFnord)
|
14
|
+
- Create dependabot.yml [peter scholz](https://github.com/LeFnord)
|
15
|
+
- Prepare release 1.2.5 [LeFnord](https://github.com/LeFnord)
|
16
|
+
- Minor improvements. [LeFnord](https://github.com/LeFnord)
|
17
|
+
- Lets run GH actions again. [LeFnord](https://github.com/LeFnord)
|
18
|
+
- Minor template improvements. [LeFnord](https://github.com/LeFnord)
|
19
|
+
- Changes ruby.yml to use 2.7 [LeFnord](https://github.com/LeFnord)
|
20
|
+
- Prepare release 1.2.4 [LeFnord](https://github.com/LeFnord)
|
21
|
+
- Respects froozen string stuff. [LeFnord](https://github.com/LeFnord)
|
22
|
+
- Updates Ruby and deps. (#23) [LeFnord](https://github.com/LeFnord)
|
23
|
+
- Create ruby.yml [LeFnord](https://github.com/LeFnord)
|
24
|
+
|
3
25
|
- Fixes gems for sequel. [LeFnord](https://github.com/LeFnord)
|
4
26
|
- Minor template improvements. [LeFnord](https://github.com/LeFnord)
|
5
27
|
|
data/lib/starter/builder/orms.rb
CHANGED
@@ -59,7 +59,7 @@ module Starter
|
|
59
59
|
load_orm
|
60
60
|
return if @orm.nil?
|
61
61
|
|
62
|
-
file_name = "#{Time.now.strftime('%Y%m%d%H%m%S')}
|
62
|
+
file_name = "#{Time.now.strftime('%Y%m%d%H%m%S')}_create_#{klass_name.downcase}.rb"
|
63
63
|
migration_dest = File.join(Dir.pwd, 'db', 'migrate', file_name)
|
64
64
|
FileFoo.write_file(migration_dest, migration(klass_name, resource))
|
65
65
|
end
|
@@ -52,6 +52,7 @@ module Starter
|
|
52
52
|
end"
|
53
53
|
end
|
54
54
|
|
55
|
+
# rubocop:disable Style/CombinableLoops
|
55
56
|
%w[get put patch delete].each do |verb|
|
56
57
|
define_method(:"#{verb}_one") do
|
57
58
|
"
|
@@ -78,6 +79,7 @@ module Starter
|
|
78
79
|
end"
|
79
80
|
end
|
80
81
|
end
|
82
|
+
# rubocop:enable Style/CombinableLoops
|
81
83
|
|
82
84
|
# request specs shared examples
|
83
85
|
#
|
data/lib/starter/version.rb
CHANGED
data/template/.rubocop.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-starter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LeFnord
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|