grippy-doozer 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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/bin/doozer CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ require 'date'
2
3
  require 'rubygems'
3
4
  require 'optparse'
4
5
 
data/doozer.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{doozer}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["grippy"]
@@ -23,7 +23,6 @@ module Doozer
23
23
  case rack_env
24
24
  when :development
25
25
  when :deployment
26
- rack_env = :deployment
27
26
  when :test, :none
28
27
  rack_env = :test
29
28
  else
@@ -9,7 +9,7 @@
9
9
  # -D (daemonize) - This is automatically initialized in deployment mode. There should be no need to pass this unless you want to test it out in development mode.
10
10
  # -h Hellllpppp!!!
11
11
 
12
- require 'rubygems'
12
+ require 'date' # needs to be included before rubygems. otherwise
13
13
  require 'optparse'
14
14
 
15
15
  APP_PATH = Dir.pwd if APP_PATH.nil?
@@ -2,7 +2,7 @@ module Doozer
2
2
  module Version
3
3
  MAJOR=0
4
4
  MINOR=1
5
- PATCH=1
5
+ PATCH=2
6
6
  STRING=[MAJOR, MINOR, PATCH].join('.')
7
7
  end
8
8
  end
@@ -65,7 +65,7 @@ module Doozer
65
65
  else
66
66
  help_all
67
67
  end
68
- elsif ['-v', '--version']
68
+ elsif ['-v', '--version'].include?(action)
69
69
  p "Doozer #{Doozer::Version::STRING}"
70
70
  else
71
71
  help_all
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ require 'date'
2
3
  require 'rubygems'
3
4
  require 'doozer'
4
5
  APP_PATH = Dir.pwd
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ require 'date'
2
3
  require 'rubygems'
3
4
  require 'doozer'
4
5
  APP_PATH = Dir.pwd
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ require 'date'
2
3
  require 'rubygems'
3
4
  require 'doozer'
4
5
  APP_PATH = Dir.pwd
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ require 'date'
2
3
  require 'rubygems'
3
4
  require 'doozer'
5
+ APP_PATH = Dir.pwd
4
6
  require DOOZER_PATH + '/doozer/scripts/test'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grippy-doozer
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
  - grippy