torquebox-generators 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.rdoc +8 -11
- data/VERSION +1 -1
- data/lib/generators/torquebox/job/USAGE +1 -1
- data/lib/generators/torquebox/service/USAGE +1 -1
- data/torquebox-generators.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -2,20 +2,17 @@
|
|
2
2
|
|
3
3
|
Rails generators for apps using TorqueBox (http://www.torquebox.org).
|
4
4
|
|
5
|
-
|
5
|
+
Add "torquebox-generators" to your Gemfile, then "bundle install".
|
6
6
|
|
7
|
-
|
8
|
-
2. rails g torquebox:job MyJob
|
7
|
+
Two generator commands are provided:
|
9
8
|
|
10
|
-
|
9
|
+
1. rails g torque_box:service MyService
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
18
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
11
|
+
This command creates a Ruby class at app/services/my_service.rb with 4 predefined methods.
|
12
|
+
|
13
|
+
2. rails g torque_box:job MyJob
|
14
|
+
|
15
|
+
This command creates a Ruby class at app/jobs/my_job.rb with a predefined run method.
|
19
16
|
|
20
17
|
== Copyright
|
21
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: torquebox-generators
|
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
|
- Larry Staton Jr.
|
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
hash: -
|
85
|
+
hash: -1049507088222415960
|
86
86
|
segments:
|
87
87
|
- 0
|
88
88
|
version: "0"
|