grape-starter 1.2.6 → 1.3.0

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
  SHA256:
3
- metadata.gz: b0319aad1d8c7ee2391228d9406510f7154c20bc1499ad236747f3296bdd60e1
4
- data.tar.gz: d7c5675719b83d4b00c1c6a79c18be5548cfa9c03e02d20d0951547d384a9add
3
+ metadata.gz: 7a26894e42ff2662719a173e14b263e31673e2d36cb720c21476c507f8ce7c64
4
+ data.tar.gz: 47f4d1c8049d154566f801c991893a135cd3c6d99f07d6a5138193ab43ba9e97
5
5
  SHA512:
6
- metadata.gz: a9fd4c6a7b26fa0cbe7243d389446a2f7076e5fdc2ea2363d20283c10998bf8963544a86f7fa57cb1d77f169d2cda8a22e70d9726f3f685b30e07388f58a789c
7
- data.tar.gz: eac255d57b207a70a02782f3ddcb3d4adddee53c794b9886a2cea4d00688910e25700af1fc5c456f7b382c201ebbff5585fe429498f305b00a0bca728a9b4c8a
6
+ metadata.gz: 14a3786d6abf9af32f733a0cd5168ccad2af04c3811143af0cf601572aa8ef51d5f1bbc3e12767c69c70f6789f6c4dc3d4e30cdb4cd061e0159c6e7a30e3dca9
7
+ data.tar.gz: 1e25c66a61297aaf2fb8baac8055f86a008a80e7f4c8268d97002db78acb29254932b8eec3956eb4eb3e5983e088eb52bfd3304e8cde1db5c0b3f45a064f23df
@@ -9,6 +9,7 @@ AllCops:
9
9
  - grape-starter.gemspec
10
10
  - template/spec/spec-helper.rb
11
11
  UseCache: true
12
+ NewCops: enable
12
13
  TargetRubyVersion: 2.7
13
14
 
14
15
  Layout/IndentationWidth:
@@ -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
 
@@ -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')}_Create#{klass_name}.rb"
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
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Starter
4
- VERSION = '1.2.6'
4
+ VERSION = '1.3.0'
5
5
  end
@@ -5,6 +5,7 @@ AllCops:
5
5
  - Rakefile
6
6
  - Gemfile
7
7
  UseCache: true
8
+ NewCops: enable
8
9
  TargetRubyVersion: 2.7
9
10
 
10
11
  Layout/LineLength:
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.2.6
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-08-12 00:00:00.000000000 Z
11
+ date: 2020-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli