batchy 0.0.2 → 0.0.3
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
CHANGED
@@ -9,7 +9,16 @@ be caught by batchy and logged. Callbacks can be defined for success, failure o
|
|
9
9
|
|
10
10
|
== Installation
|
11
11
|
|
12
|
-
gem install batchy
|
12
|
+
$ gem install batchy
|
13
|
+
|
14
|
+
Or if you're using bundler add <code>batchy</code> to your Gemfile and
|
15
|
+
|
16
|
+
$ bundle install
|
17
|
+
|
18
|
+
If you're using Rails, you can generate a migration with
|
19
|
+
|
20
|
+
$ rails generate batchy:active_record
|
21
|
+
$ rake db:migrate
|
13
22
|
|
14
23
|
== Examples
|
15
24
|
|
data/lib/batchy/version.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
+
require 'rails/generators'
|
1
2
|
require 'rails/generators/migration'
|
2
3
|
require 'rails/generators/active_record/migration'
|
3
4
|
|
4
5
|
module Batchy
|
5
|
-
class ActiveRecordGenerator
|
6
|
+
class ActiveRecordGenerator < Rails::Generators::Base
|
6
7
|
include Rails::Generators::Migration
|
7
8
|
extend ActiveRecord::Generators::Migration
|
8
9
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: batchy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Bob Briski
|
@@ -166,7 +166,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
166
|
requirements:
|
167
167
|
- - ">="
|
168
168
|
- !ruby/object:Gem::Version
|
169
|
-
hash:
|
169
|
+
hash: 3460782034431426009
|
170
170
|
segments:
|
171
171
|
- 0
|
172
172
|
version: "0"
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
requirements:
|
176
176
|
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
hash:
|
178
|
+
hash: 3460782034431426009
|
179
179
|
segments:
|
180
180
|
- 0
|
181
181
|
version: "0"
|