bullet_train-super_scaffolding 1.8.5 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d13e2ca8acbd4f74a92b812cf24cfd0a0fdfa2f4e8372f519d35d96060f982a
4
- data.tar.gz: b4952136c4d0da1849b42acd1db9d656fcbdf9a2d1570af87a7c56a5c2184f9a
3
+ metadata.gz: 67bdc4a661d5caa48f50e612d3ba23a39ccb5e5ef3b5f8b1869ae5feafce6650
4
+ data.tar.gz: b518d3805c4d78d8e12acc1b6757654f91c4e916db811098768f455adb6eceab
5
5
  SHA512:
6
- metadata.gz: 54e7d5bbf8e2883b09ed3491522323fe1454ad70fa61151565b35e075baa0a995cf498be368303762b2938d9ecab1ec79563ea0b6ce6384475524b0026cf2446
7
- data.tar.gz: c53225806490e8fa42924568b4b11edf8d0277803e1afea86f6dc5fe849cf84099c5749d90235c684021aaeb20b582b0fa20c8f7732c8bda31cf99fdfd05a1be
6
+ metadata.gz: 4313b616d1e86fbc7490f00ddb17977846c1583d6598fc844130840be239dd661547c335bbdb5898ab6708fc5b3e229e147f4d9a4dc9aa5d18bd3397a9bbcb47
7
+ data.tar.gz: 40c5d2f2b20fa38063d243081ecf312b89d7999a0a250520a3271e33f3f02546b5468a1010903339a9a95f3fce58ef40556d16f3b9a1f0477e5ceff888447484
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.8.5"
3
+ VERSION = "1.10.0"
4
4
  end
5
5
  end
@@ -50,7 +50,7 @@ module Scaffolding::FileManipulator
50
50
  insert_after = 1
51
51
  lines.each_with_index do |line, index|
52
52
  break if current_needle.nil?
53
- if line.strip == current_needle + ":"
53
+ if line.split("#").first.strip == current_needle + ":"
54
54
  current_needle = location_array.shift.to_s
55
55
  insert_after = index
56
56
  current_space = line.match(/\s+/).to_s
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_scaffolding
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.5
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
- rubygems_version: 3.5.11
222
+ rubygems_version: 3.5.22
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: Bullet Train Super Scaffolding