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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6bd66e7f6455a933eea2411f14e35ec6a01604b4
4
- data.tar.gz: e95ca0775efc614014e29e25080bd800101bc736
3
+ metadata.gz: b5e73d6dcf62aca050af625575f1ca6fd6a6bc39
4
+ data.tar.gz: 45d80efd7897e9fa7648562c7ad623959cf5c4ce
5
5
  SHA512:
6
- metadata.gz: af2818f466bb2641a1c6ab2b54b50978272e334ee08eae2439b15d4f12dab1a97e36a684d4daa767cf748a118a7fe1f68a2e0105f6fc4593a53ba56fbf1027b4
7
- data.tar.gz: 857782a85fc005ec5a14f6b127ef8ead56dae63e47eeab62fbafe24497b3bc26d13371f354c391919bcd96400200a0c7b038945392670bd590cbecbacc081b1c
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
@@ -1,3 +1,3 @@
1
1
  module Rory
2
- VERSION = '0.9.3'
2
+ VERSION = '0.9.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Gadad