dummier 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - rbx
5
+ - rbx-2.0
6
+ - ree
data/README.md CHANGED
@@ -21,11 +21,11 @@ To install from RubyGems:
21
21
 
22
22
  To install with bundler:
23
23
 
24
- gem 'dummier', '>= 0.2.1'
24
+ gem 'dummier', '>= 0.2.2'
25
25
 
26
26
  To package for development in your gemspec:
27
27
 
28
- s.add_development_dependency('dummier', '>= 0.2.1')
28
+ s.add_development_dependency('dummier', '>= 0.2.2')
29
29
 
30
30
 
31
31
  Usage
@@ -54,7 +54,7 @@ Dummier calls the following hooks along the way:
54
54
 
55
55
  Place appropriately named files ) in `test/dummy_hooks` and dummier will find and execute them automatically!
56
56
 
57
- You can use [Rails::Generators::Actions](http://api.rubyonrails.org/classes/Rails/Generators/Actions.html) as well as [Thor::Actions](http://textmate.rubyforge.org/thor/Thor/Actions.html) in your hooks. Also, since hooks are just `eval`'d into the [Dummer::AppGenerator](http://rubydoc.info/gems/dummier/0.2.1/Dummier/AppGenerator), you have access to all of [those methods](http://rubydoc.info/gems/dummier/0.2.1/Dummier/AppGenerator) as well.
57
+ You can use [Rails::Generators::Actions](http://api.rubyonrails.org/classes/Rails/Generators/Actions.html) as well as [Thor::Actions](http://textmate.rubyforge.org/thor/Thor/Actions.html) in your hooks. Also, since hooks are just `eval`'d into the [Dummer::AppGenerator](http://rubydoc.info/gems/dummier/0.2.2/Dummier/AppGenerator), you have access to all of [those methods](http://rubydoc.info/gems/dummier/0.2.2/Dummier/AppGenerator) as well.
58
58
 
59
59
 
60
60
  ### Simple Example
@@ -104,6 +104,12 @@ Change Log
104
104
  ----------
105
105
 
106
106
 
107
+ **0.2.2 - 2011/8/31**
108
+
109
+ * added to travis-ci.org
110
+ * fixed ruby 1.8.7, rbx and ree compatibility
111
+
112
+
107
113
  **0.2.1 - 2011/8/31**
108
114
 
109
115
  * merged GH#1 - Thanks @holdensmagicalunicorn
@@ -120,13 +126,13 @@ Change Log
120
126
  * added your gem's `test/dummy_hooks/templates` folder into the generator's `source_paths`
121
127
 
122
128
 
123
- **0.2.1 - 2011/5/20**
129
+ **0.1.0 - 2011/5/20**
124
130
 
125
131
  * removed spork and wrote a basic hook test
126
132
  * improved documentation
127
133
 
128
134
 
129
- **0.2.1.rc1 - 2011/5/11**
135
+ **0.1.0.rc1 - 2011/5/11**
130
136
 
131
137
  * added spork and some tests
132
138
 
@@ -4,4 +4,4 @@ module Dummier
4
4
 
5
5
  # just a generator!
6
6
 
7
- end
7
+ end
@@ -22,7 +22,7 @@ module Dummier
22
22
  @options = defaults.merge(options)
23
23
  self.source_paths << File.join(root_path, "test", "dummy_hooks", "templates")
24
24
  self.destination_root = File.join(test_path, name)
25
- raise "Invalid directory!" unless Dir.exists?(@root_path)
25
+ raise "Invalid directory!" unless File.directory?(@root_path)
26
26
  end
27
27
 
28
28
  # The name of the rails application
@@ -117,7 +117,7 @@ module Dummier
117
117
  template "rails/boot.rb", "config/boot.rb", :force => true
118
118
 
119
119
  # add cucumber to database.yml
120
- cukes = Dir.exists?(File.join(root_path, "features"))
120
+ cukes = File.directory?(File.join(root_path, "features"))
121
121
  if cukes
122
122
  append_file "config/database.yml" do
123
123
  %(
@@ -1,3 +1,3 @@
1
1
  module Dummier
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -1,4 +1,4 @@
1
- require_relative '../test_helper'
1
+ require 'test_helper'
2
2
 
3
3
  module HookTestHelper
4
4
  extend self
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dummier
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 19
4
5
  prerelease:
5
- version: 0.2.1
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 2
10
+ version: 0.2.2
6
11
  platform: ruby
7
12
  authors:
8
13
  - Spencer Steffen
@@ -10,7 +15,8 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-08-31 00:00:00 Z
18
+ date: 2011-08-31 00:00:00 -07:00
19
+ default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rails
@@ -20,6 +26,11 @@ dependencies:
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 3
32
+ - 0
33
+ - 0
23
34
  version: 3.0.0
24
35
  type: :runtime
25
36
  version_requirements: *id001
@@ -31,6 +42,11 @@ dependencies:
31
42
  requirements:
32
43
  - - ">="
33
44
  - !ruby/object:Gem::Version
45
+ hash: 37
46
+ segments:
47
+ - 2
48
+ - 11
49
+ - 3
34
50
  version: 2.11.3
35
51
  type: :development
36
52
  version_requirements: *id002
@@ -42,6 +58,11 @@ dependencies:
42
58
  requirements:
43
59
  - - ">="
44
60
  - !ruby/object:Gem::Version
61
+ hash: 29
62
+ segments:
63
+ - 1
64
+ - 3
65
+ - 3
45
66
  version: 1.3.3
46
67
  type: :development
47
68
  version_requirements: *id003
@@ -56,6 +77,7 @@ extra_rdoc_files: []
56
77
 
57
78
  files:
58
79
  - .gitignore
80
+ - .travis.yml
59
81
  - Gemfile
60
82
  - LICENSE
61
83
  - README.md
@@ -77,6 +99,7 @@ files:
77
99
  - test/dummy_gem/test/dummy_hooks/before_migrate.rb
78
100
  - test/test_helper.rb
79
101
  - test/unit/dummier_test.rb
102
+ has_rdoc: true
80
103
  homepage: https://github.com/citrus/dummier
81
104
  licenses: []
82
105
 
@@ -90,17 +113,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
113
  requirements:
91
114
  - - ">="
92
115
  - !ruby/object:Gem::Version
116
+ hash: 3
117
+ segments:
118
+ - 0
93
119
  version: "0"
94
120
  required_rubygems_version: !ruby/object:Gem::Requirement
95
121
  none: false
96
122
  requirements:
97
123
  - - ">="
98
124
  - !ruby/object:Gem::Version
125
+ hash: 3
126
+ segments:
127
+ - 0
99
128
  version: "0"
100
129
  requirements: []
101
130
 
102
131
  rubyforge_project: dummier
103
- rubygems_version: 1.8.8
132
+ rubygems_version: 1.4.2
104
133
  signing_key:
105
134
  specification_version: 3
106
135
  summary: Dummier generates a minimal rails testing application.