wagons 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/generators/wagon/templates/%singular_name%.gemspec.tt +3 -3
- data/lib/wagons/version.rb +1 -1
- data/lib/wagons/wagon_tasks.rake +27 -0
- data/test/ci/rails3.gemfile.lock +2 -2
- data/test/dummy/Gemfile.lock +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +4990 -1312
- data/test/dummy/log/test.log +20626 -9159
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/vendor/wagons/superliner/Gemfile.lock +1 -1
- metadata +161 -155
- checksums.yaml +0 -15
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- /data/test/dummy/test/{unit → models}/person_test.rb +0 -0
- /data/test/dummy/vendor/wagons/superliner/test/{functionals → controllers}/cities_controller_test.rb +0 -0
- /data/test/dummy/vendor/wagons/superliner/test/{functionals → controllers}/people_controller_test.rb +0 -0
- /data/test/dummy/vendor/wagons/superliner/test/{unit → models}/city_test.rb +0 -0
- /data/test/dummy/vendor/wagons/superliner/test/{unit → models}/person_test.rb +0 -0
@@ -7,11 +7,11 @@ require "<%= singular_name %>/version"
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "<%= singular_name %>"
|
9
9
|
s.version = <%= class_name %>::VERSION
|
10
|
-
s.authors = ["
|
11
|
-
s.email = ["
|
10
|
+
s.authors = ["Your name"]
|
11
|
+
s.email = ["Your email"]
|
12
12
|
#s.homepage = "TODO"
|
13
13
|
s.summary = "<%= wagon_name.humanize.titleize %>"
|
14
|
-
s.description = "
|
14
|
+
s.description = "Wagon description"
|
15
15
|
|
16
16
|
s.files = Dir["{app,config,db,lib}/**/*"] + ["Rakefile"]
|
17
17
|
s.test_files = Dir["test/**/*"]
|
data/lib/wagons/version.rb
CHANGED
data/lib/wagons/wagon_tasks.rake
CHANGED
@@ -143,5 +143,32 @@ namespace :app do
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
+
task :notes => 'app:notes'
|
147
|
+
|
148
|
+
task :stats => ['wagon:statsetup', 'app:stats']
|
149
|
+
|
150
|
+
namespace :wagon do
|
151
|
+
task :statsetup do
|
152
|
+
require 'rails/code_statistics'
|
153
|
+
STATS_DIRECTORIES.clear
|
154
|
+
STATS_DIRECTORIES += [
|
155
|
+
%w(Controllers app/controllers),
|
156
|
+
%w(Helpers app/helpers),
|
157
|
+
%w(Models app/models),
|
158
|
+
%w(Mailers app/mailers),
|
159
|
+
%w(Javascripts app/assets/javascripts),
|
160
|
+
%w(Libraries lib/),
|
161
|
+
%w(APIs app/apis),
|
162
|
+
%w(Controller\ tests test/controllers),
|
163
|
+
%w(Helper\ tests test/helpers),
|
164
|
+
%w(Model\ tests test/models),
|
165
|
+
%w(Mailer\ tests test/mailers),
|
166
|
+
%w(Integration\ tests test/integration),
|
167
|
+
%w(Functional\ tests\ (old) test/functional),
|
168
|
+
%w(Unit\ tests\ (old) test/unit)
|
169
|
+
].collect { |name, dir| [ name, "#{ENGINE_PATH}/#{dir}" ] }.select { |name, dir| File.directory?(dir) }
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
146
173
|
|
147
174
|
task :default => :test
|
data/test/ci/rails3.gemfile.lock
CHANGED
data/test/dummy/Gemfile.lock
CHANGED
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|