inline_forms 1.6.26 → 1.6.27
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/bin/inline_forms +3 -9
- data/lib/inline_forms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fc5c861eb236c4e9c1bdfbe0196307d69c4c68b
|
4
|
+
data.tar.gz: b80b53fd4262df4f281ccf038f5b9662ca415d03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061e0cdf4db467028b0764e9ff9dcc1bcb80001ced40493ea880213847566a085479a8b2ee6f4796435e1ad4ac8cb71515f75ee365db126ce4c6dba0f208e89d
|
7
|
+
data.tar.gz: c934596c931ddcdf41dc42c165158abc8e784e3ae8e8ebe27be022630dea31f40a36521542febb0b6776f540b325efc6b034dea69a15d997d473ff43febcae5a
|
data/bin/inline_forms
CHANGED
@@ -17,13 +17,6 @@ module InlineForms
|
|
17
17
|
class Creator < Thor
|
18
18
|
include Thor::Actions
|
19
19
|
|
20
|
-
# String.class_eval do
|
21
|
-
# def strip_heredoc_with_indent(indent=0)
|
22
|
-
# new_indent = ( self.empty? ? 0 : ( scan(/^[ \t]*(?=\S)/).min.size - indent ) )
|
23
|
-
# gsub(/^[ \t]{#{new_indent}}/, '')
|
24
|
-
# end
|
25
|
-
# end
|
26
|
-
|
27
20
|
def self.source_root
|
28
21
|
File.dirname(__FILE__)+"/.."
|
29
22
|
end
|
@@ -91,7 +84,7 @@ module InlineForms
|
|
91
84
|
if dry_run?
|
92
85
|
empty_directory(app_name)
|
93
86
|
else
|
94
|
-
if ! run("rails new #{app_name}")
|
87
|
+
if ! run("rails new #{app_name}")
|
95
88
|
say "Rails could not create the app '#{app_name}', maybe because it is a reserved word...", :red
|
96
89
|
exit 1
|
97
90
|
end
|
@@ -103,7 +96,8 @@ module InlineForms
|
|
103
96
|
|
104
97
|
say "- Changing to '#{app_name}'..."
|
105
98
|
chdir(app_name) do
|
106
|
-
|
99
|
+
run("rvm gemset create #{app_name}")
|
100
|
+
run("rvm gemset use #{app_name}")
|
107
101
|
say "- Working directory is now #{`pwd`}"
|
108
102
|
say "- RVM gemset is now #{%x[rvm current]}"
|
109
103
|
|
data/lib/inline_forms/version.rb
CHANGED