dummier 0.2.0 → 0.2.1
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/README.md +21 -8
- data/lib/dummier/version.rb +1 -1
- metadata +3 -5
data/README.md
CHANGED
@@ -9,7 +9,7 @@ The idea behind Dummier is that we don't check `test/dummy` into git, but rather
|
|
9
9
|
|
10
10
|
Dummier is simple; just run the binary from your gem's root directory and it will generate a stripped-down & gem-dev-ready rails app in `test/dummy`. While it's doing it's thing, Dummer triggers a few hooks along the way for easy customization.
|
11
11
|
|
12
|
-
To catch the hooks, just create
|
12
|
+
To catch the hooks, just create appropriately named files in `test/dummy_hooks` inside your gem. See **Hooks** below for more info.
|
13
13
|
|
14
14
|
|
15
15
|
Installation
|
@@ -21,11 +21,11 @@ To install from RubyGems:
|
|
21
21
|
|
22
22
|
To install with bundler:
|
23
23
|
|
24
|
-
gem 'dummier', '>= 0.1
|
24
|
+
gem 'dummier', '>= 0.2.1'
|
25
25
|
|
26
26
|
To package for development in your gemspec:
|
27
27
|
|
28
|
-
s.add_development_dependency('dummier', '>= 0.1
|
28
|
+
s.add_development_dependency('dummier', '>= 0.2.1')
|
29
29
|
|
30
30
|
|
31
31
|
Usage
|
@@ -52,9 +52,9 @@ Dummier calls the following hooks along the way:
|
|
52
52
|
after_migrate
|
53
53
|
|
54
54
|
|
55
|
-
Place
|
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.1
|
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.
|
58
58
|
|
59
59
|
|
60
60
|
### Simple Example
|
@@ -104,6 +104,12 @@ Change Log
|
|
104
104
|
----------
|
105
105
|
|
106
106
|
|
107
|
+
**0.2.1 - 2011/8/31**
|
108
|
+
|
109
|
+
* merged GH#1 - Thanks @holdensmagicalunicorn
|
110
|
+
* revised readme
|
111
|
+
|
112
|
+
|
107
113
|
**0.2.0 - 2011/6/18**
|
108
114
|
|
109
115
|
* moved the dummy_hooks to your test folder rather than in lib. makes more sense that way.
|
@@ -114,13 +120,13 @@ Change Log
|
|
114
120
|
* added your gem's `test/dummy_hooks/templates` folder into the generator's `source_paths`
|
115
121
|
|
116
122
|
|
117
|
-
**0.1
|
123
|
+
**0.2.1 - 2011/5/20**
|
118
124
|
|
119
125
|
* removed spork and wrote a basic hook test
|
120
126
|
* improved documentation
|
121
127
|
|
122
128
|
|
123
|
-
**0.1.
|
129
|
+
**0.2.1.rc1 - 2011/5/11**
|
124
130
|
|
125
131
|
* added spork and some tests
|
126
132
|
|
@@ -130,7 +136,14 @@ Change Log
|
|
130
136
|
* it exists!
|
131
137
|
|
132
138
|
|
139
|
+
Contributors
|
140
|
+
------------
|
141
|
+
|
142
|
+
- Spencer Steffen ([@citrus](https://github.com/citrus))
|
143
|
+
- [@holdensmagicalunicorn](https://github.com/holdensmagicalunicorn)
|
144
|
+
|
145
|
+
|
133
146
|
License
|
134
147
|
-------
|
135
148
|
|
136
|
-
Copyright (c) 2011 Spencer Steffen and Citrus, released under the New BSD License All rights reserved.
|
149
|
+
Copyright (c) 2011 Spencer Steffen and Citrus, released under the New BSD License All rights reserved.
|
data/lib/dummier/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dummier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Spencer Steffen
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-08-31 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rails
|
@@ -78,7 +77,6 @@ files:
|
|
78
77
|
- test/dummy_gem/test/dummy_hooks/before_migrate.rb
|
79
78
|
- test/test_helper.rb
|
80
79
|
- test/unit/dummier_test.rb
|
81
|
-
has_rdoc: true
|
82
80
|
homepage: https://github.com/citrus/dummier
|
83
81
|
licenses: []
|
84
82
|
|
@@ -102,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
100
|
requirements: []
|
103
101
|
|
104
102
|
rubyforge_project: dummier
|
105
|
-
rubygems_version: 1.
|
103
|
+
rubygems_version: 1.8.8
|
106
104
|
signing_key:
|
107
105
|
specification_version: 3
|
108
106
|
summary: Dummier generates a minimal rails testing application.
|