stitches 3.6.0 → 3.6.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c3846c9b1a93294cd571810ca83039f181dba5ddd3d933ff43251da056c8b6c
|
4
|
+
data.tar.gz: a42a251585e41138e8f94dce4cd6c1d95c1a9d8809368fcf744d18238c7e3fa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4fee81d1d74bd4244caaa6fc9ef5c4c6f89d9a20f5f6786ec563388309d47b6ff64d7255724412bd672d80269b6123f2cc7a4956057bb692d27b755af2f2dac
|
7
|
+
data.tar.gz: a7a41bcd6b7ebae60daa58d414875aafd986910a9e21420afce8133d9ce1e68c22d0242e962cd85ca2244987dfcd094ff36ce34da826ca12bd80fb628f33ea95
|
data/lib/stitches/version.rb
CHANGED
@@ -95,9 +95,12 @@ RSpec.describe "Adding Stitches to a New Rails App" do
|
|
95
95
|
|
96
96
|
run "bin/rails generate stitches:add_deprecation"
|
97
97
|
|
98
|
-
|
99
|
-
|
100
|
-
|
98
|
+
lines = File.read(api_controller).split(/\n/)
|
99
|
+
include_line = lines.detect { |line|
|
100
|
+
line =~ /^\s+include Stitches::Deprecation$/
|
101
|
+
}
|
102
|
+
|
103
|
+
expect(include_line).to_not be_nil,lines.inspect
|
101
104
|
end
|
102
105
|
|
103
106
|
class RoutesFileAnalysis
|