rory 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rory/cli/generators/templates/app/Rakefile.tt +11 -0
- data/lib/rory/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: b5e73d6dcf62aca050af625575f1ca6fd6a6bc39
|
4
|
+
data.tar.gz: 45d80efd7897e9fa7648562c7ad623959cf5c4ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99ef26781264d00c2e9382119a1a3aed553a49cf2f719f0d3d0cffa1bc772bd4f1507d8d72fceda1751181795589570854ad51e92060f636f03d8c48d507b813
|
7
|
+
data.tar.gz: e0afe99fdaa3f6610f58d034cdeb959b44cb7c37cab317b3d25d45e2a6905b209bbc0c2a6936e71b7fe75143295a7a28e469b44de4cbde4a82ad33b8a317d0ba
|
@@ -2,9 +2,20 @@ ENV["RORY_ENV"] ||= ENV["RACK_ENV"] || "development"
|
|
2
2
|
|
3
3
|
require "bundler/setup"
|
4
4
|
require "rory/tasks"
|
5
|
+
<% if options[:rspec] -%>
|
6
|
+
require "rspec/core/rake_task"
|
7
|
+
<% end ->
|
5
8
|
|
6
9
|
Rake::TaskManager.record_task_metadata = true
|
7
10
|
|
11
|
+
<% if options[:rspec] -%>
|
12
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
13
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
14
|
+
end
|
15
|
+
|
16
|
+
task :default => :spec
|
17
|
+
<% end ->
|
18
|
+
|
8
19
|
task :environment do
|
9
20
|
require_relative "config/application"
|
10
21
|
RORY_APP = <%= camelized_app_name %>::Application
|
data/lib/rory/version.rb
CHANGED