zen_garden 0.0.5 → 0.0.6

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: 654f7a8a6967ab76ceb51ea5850e290dff6dac83
4
- data.tar.gz: d0857fe9ff7bd698ff35654b9c1ae405dadb7999
3
+ metadata.gz: fe2ec367f71e469e18e9ba5cac41ba3de018653f
4
+ data.tar.gz: e0357f74dc4967662a206aa819542f3690bd7ed1
5
5
  SHA512:
6
- metadata.gz: d386d27907b78deec77c4b69887171628156a8732cec536d9cd988521518f3223b07a2e6d826b55e44da33fdde6c3fb2a6b7f544c635c2fa678e0776064cf196
7
- data.tar.gz: a15ad7a15b3a3482e77e858c0a782cfaec904382ca1b2255129167afc9788e2878f2f61c142ea376be4ee40c1cea7843ef0d0936c5ecdb561c14665f9fff43cf
6
+ metadata.gz: a92b074fdee0edb11beaed2d66c317b4f3a937ac2c833b195d596593bf99ed9a9efef6d7e90bf2ab1dce2e699e2bc840f5faa5f0042ebb35fd41ee7912abe78f
7
+ data.tar.gz: f87e728b653c31d2211ca6272007e31afc202889f8582c0ab03585a7bafbacdcdef898c9ca4ce647a2ab435d97d75df4b00e1f4b2f771eb4e2639a56e6631dfe
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zen_garden (0.0.5)
4
+ zen_garden (0.0.6)
5
5
  heroku
6
6
  rails (>= 3.0.0)
7
7
  rake
@@ -7,6 +7,11 @@ namespace :db do
7
7
  task :user do
8
8
  sh "createuser -s #{database[:username]}"
9
9
  end
10
+
11
+ namespace :setup do
12
+ desc "'First-time' database setup, create and migrate in one shot"
13
+ task :first_time => %w(db:create db:migrate)
14
+ end
10
15
  end
11
16
 
12
17
  desc "Create the database user and database, set up the schema, and run seeds"
@@ -10,20 +10,22 @@ namespace :test do
10
10
  sh "travis encrypt #{project} '#{key}=#{value}'"
11
11
  end
12
12
  end
13
-
14
13
  end
15
14
 
16
15
  unless defined? Rails::TestUnitRailtie
17
16
  begin
18
- require 'rspec/core/rake_task'
19
17
 
20
- if defined? Teaspoon
21
- RSpec::Core::RakeTask.new :spec
18
+ require 'rspec/core/rake_task'
19
+ RSpec::Core::RakeTask.new :spec
22
20
 
23
- desc "Run RSpec and Teaspoon code examples"
24
- task :test => %w(spec teaspoon)
21
+ task_order = if defined? Teaspoon
22
+ %w(db:migrate spec teaspoon)
25
23
  else
26
- RSpec::Core::RakeTask.new :test
24
+ %w(db:migrate spec)
27
25
  end
26
+
27
+ desc "Run all tests"
28
+ task :test => task_order
29
+
28
30
  rescue LoadError; end
29
31
  end
@@ -1,3 +1,3 @@
1
1
  module ZenGarden
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # Configure Rails Environment
2
- ENV["RAILS_ENV"] ||= "test"
2
+ ENV["RAILS_ENV"] = "test"
3
3
 
4
4
  # Load the test framework
5
5
  require 'bundler/setup'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zen_garden
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Scott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-26 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails