foobara-rack-connector-generator 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/src/generators/gemfile_generator.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93e2296e4b6fe8a3f6c7ffe182ac40963824010c4ce483918cde70dce9554302
|
4
|
+
data.tar.gz: de029bdb682564989ba30934d91951edda010e6a63e40a85edf21820a3d0bf66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a22d64a6b3756231bf6f650998be2b5fddaf0fe83a94c8d40848bc8efa354e0d9fcb6319cc2bf83546f22c81921b7a8e3422520452987b16bf7f71444aaa5fde
|
7
|
+
data.tar.gz: bc46dc8e76a1fe794cf6191246fa27e4c1bfecf874b76fcd89c61f46cad46ce04ae322d0913e06f9c6e9125f76498a7bce24261466eb802e35e4effd40d50bf4
|
data/CHANGELOG.md
CHANGED
@@ -20,7 +20,11 @@ module Foobara
|
|
20
20
|
match = contents.match(/^gem /)
|
21
21
|
|
22
22
|
if match
|
23
|
-
new_entry =
|
23
|
+
new_entry = [
|
24
|
+
'gem "foobara-rack-connector", github: "foobara/rack-connector"',
|
25
|
+
'gem "rackup"',
|
26
|
+
'gem "rerun"'
|
27
|
+
].join("\n")
|
24
28
|
|
25
29
|
"#{match.pre_match}\n#{new_entry}\n#{match}#{match.post_match}"
|
26
30
|
else
|