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.
Files changed (3) hide show
  1. data/README +5 -0
  2. data/lib/runner.rb +6 -6
  3. 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
- runcommand("script/plugin install #{plugin_location}")
78
+ runinside("script/plugin install #{plugin_location}")
79
79
  end
80
80
 
81
81
  def generate generator, *opts
82
- runcommand("script/generate #{generator} #{opts.join(' ')}")
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
- runcommand("rake #{opts.join(' ')}")
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
- runcommand 'git init'
139
+ runinside 'git init'
140
140
  end
141
141
  end
142
142
 
143
143
  def svn
144
- runcommand 'svnadmin create'
144
+ runinside 'svnadmin create'
145
145
  end
146
146
 
147
- def runcommand *opts
147
+ def runinside *opts
148
148
  shell "cd #{Runner.app_name}; #{opts.join(' ')}"
149
149
  end
150
150
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: listrophy-suprails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradley Grzesiak