listrophy-suprails 0.1.1 → 0.1.2
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.
- data/README +5 -0
- data/lib/runner.rb +6 -6
- metadata +1 -1
data/README
CHANGED
@@ -22,6 +22,9 @@ does not replace the rails framework but rather provides a starting point
|
|
22
22
|
for a rails application far beyond what the "rails" command provides.
|
23
23
|
During execution, in fact, the suprails command calls the rails command.
|
24
24
|
|
25
|
+
Suprails has a website at http://suprails.org Eventually, it will be a place
|
26
|
+
where suprails users can exchange config files and facets.
|
27
|
+
|
25
28
|
How it works
|
26
29
|
============
|
27
30
|
|
@@ -70,6 +73,8 @@ $ suprails AppName
|
|
70
73
|
History/Bugs
|
71
74
|
====
|
72
75
|
|
76
|
+
0.1.2 - Changed runcommand to runinside
|
77
|
+
|
73
78
|
0.1.1 - Added the runcommand verb
|
74
79
|
|
75
80
|
0.1 - The DB commands do not yet work. You have to just use the file command
|
data/lib/runner.rb
CHANGED
@@ -75,11 +75,11 @@ class Runner
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def plugin plugin_location
|
78
|
-
|
78
|
+
runinside("script/plugin install #{plugin_location}")
|
79
79
|
end
|
80
80
|
|
81
81
|
def generate generator, *opts
|
82
|
-
|
82
|
+
runinside("script/generate #{generator} #{opts.join(' ')}")
|
83
83
|
end
|
84
84
|
|
85
85
|
def folder folder_name
|
@@ -123,7 +123,7 @@ class Runner
|
|
123
123
|
end
|
124
124
|
|
125
125
|
def rake *opts
|
126
|
-
|
126
|
+
runinside("rake #{opts.join(' ')}")
|
127
127
|
end
|
128
128
|
|
129
129
|
def git
|
@@ -136,15 +136,15 @@ class Runner
|
|
136
136
|
if gem
|
137
137
|
g = Git.init(@base)
|
138
138
|
else
|
139
|
-
|
139
|
+
runinside 'git init'
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
143
|
def svn
|
144
|
-
|
144
|
+
runinside 'svnadmin create'
|
145
145
|
end
|
146
146
|
|
147
|
-
def
|
147
|
+
def runinside *opts
|
148
148
|
shell "cd #{Runner.app_name}; #{opts.join(' ')}"
|
149
149
|
end
|
150
150
|
|