swagger 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +18 -19
  2. data/VERSION +1 -1
  3. data/swagger.gemspec +1 -1
  4. metadata +2 -2
@@ -1,34 +1,33 @@
1
1
  = swagger = (Resque - Redis) + ActiveRecord
2
2
 
3
- Swagger allows you to use Resque full featured by only adding one table in your existing database.
3
+ Swagger allows you to use Resque full featured by only adding one table in your existing database.
4
4
 
5
- Resque is a great library for creating/running/administering background jobs. Redis is great too but may be overkill for just a few simple background jobs. Swagger marries the power and robustness of Resque with the trivial setup of delayed_job.
6
-
5
+ Resque is a great library for creating/running/administering background jobs. Redis is great too but may be overkill for just a few simple background jobs. Swagger marries the power and robustness of Resque with the trivial setup of delayed_job.
7
6
 
8
7
  == Getting Started
9
8
 
10
- 1. Add resque and swagger to your gem dependencies (order is important)
9
+ 1. Add resque and swagger to your gem dependencies (order is important)
11
10
 
12
- config.gem 'resque'
13
- config.gem 'swagger'
11
+ config.gem 'resque'
12
+ config.gem 'swagger'
14
13
 
15
- 2. In your rails app, create the file initializers/resque.rb with the following:
14
+ 2. In your rails app, create the file initializers/resque.rb with the following:
16
15
 
17
- Resque.swagger!
18
- Resque.connect_to_database YAML::load(ERB.new(IO.read(File.join(File.dirname(__FILE__), '..', 'database.yml'))).result)[RAILS_ENV]
16
+ Resque.swagger!
17
+ Resque.connect_to_database YAML::load(ERB.new(IO.read(File.join(File.dirname(__FILE__), '..', 'database.yml'))).result)[RAILS_ENV]
19
18
 
20
- 3. Create an active record migration
21
-
22
- create_table :resque_values do |table|
23
- table.column :key, :string
24
- table.column :key_type, :string
25
- table.column :value, :text
26
- end
19
+ 3. Create an active record migration
20
+
21
+ create_table :resque_values do |table|
22
+ table.column :key, :string
23
+ table.column :key_type, :string
24
+ table.column :value, :text
25
+ end
27
26
 
28
- add_index :resque_values, :key
29
- add_index :resque_values, [:key, :key_type]
27
+ add_index :resque_values, :key
28
+ add_index :resque_values, [:key, :key_type]
30
29
 
31
- NOTE: To start up the administration sinatra app with swagger, do the following: resque-web config/initializers/resque.rb
30
+ NOTE: To start up the administration sinatra app with swagger, do the following: resque-web config/initializers/resque.rb
32
31
 
33
32
  == Note on Patches/Pull Requests
34
33
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{swagger}
8
- s.version = "1.1.1"
8
+ s.version = "1.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 = ["mdeiters"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 2
9
+ version: 1.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - mdeiters