solargraph-rails-init 0.2.0 → 0.2.1
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 +4 -4
- data/Gemfile.lock +1 -1
- data/exe/solargraph-rails-init +4 -1
- data/lib/solargraph/rails/init/version.rb +1 -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: c13c83e7eac6813b378f0242c69aab57df0f5f865c861fd29e04ad3806fa6dff
|
4
|
+
data.tar.gz: b7096dbc6252b49fdb7e70a1d0c05fa7f1806ce7a5438d2992299648cea72b11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36da0959f215857bf96edfe4870fa4fdb8e59072b8ed0aeef46eae53bf057b2b2b0d1411e8cbd96242eadfb9dac0509519bdf3e385c5443ef36f4c623b1582f6
|
7
|
+
data.tar.gz: 4171cc4940ebdc680420f5e14f3810fc5403bdf094c45d402dd7aa87ddbc6f9570fa0db3e02ab588e5c8b79d2c500b6e8ed4c5a6e0dc9be3db21321d889584b5
|
data/Gemfile.lock
CHANGED
data/exe/solargraph-rails-init
CHANGED
@@ -46,8 +46,11 @@ end
|
|
46
46
|
|
47
47
|
def install_sgr
|
48
48
|
exec_cmd "gem install solargraph-rails --pre", title: "Installing `solargraph-rails` gem..."
|
49
|
+
exec_cmd "bundle add annotate", title: "Adding `annotate` gem to Gemfile..."
|
50
|
+
exec_cmd "rails g annotate:install", title: "Initializing `annotate` gem..."
|
51
|
+
exec_cmd "rake annotate_models", title: "Annotating models..."
|
49
52
|
|
50
|
-
puts "
|
53
|
+
puts "Adding `solargraph-rails` plugin to #{SOLARGRAPH_YML}..."
|
51
54
|
h = YAML.load_file(SOLARGRAPH_YML)
|
52
55
|
h['plugins'] ||= []
|
53
56
|
h['plugins'] << 'solargraph-rails' unless h['plugins'].include?('solargraph-rails')
|