batch_manager 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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTc0ZWI3YzZkZWQ0Nzk3ZDMzMmYzNDFhNjNkMWIxZjgyM2JhN2YxNw==
4
+ MzBhZTJiZjNjY2YxZWJmN2UxZDQ3OGU3YWI0NGNlN2VkODQ0ZmNmOQ==
5
5
  data.tar.gz: !binary |-
6
- MTU5MTVlMTQ5OTMwODM4ZWJlYTk5OWZlMzM3NGQxN2QzOTRhNDUyNg==
6
+ YzQxOTg4NzhmNTY5MjQ0NDU1MmE1ZWI1ODE2MGExNzIyMWMzMmZhOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MTcyZTg1ZGFhMTIyODFlY2M5MzdiYmYxMmVlYjYyMDViMWI2MjY2NmJkYzli
10
- ZDI1NzlkNDIwMGNjNjcxMmI1M2EyYmFmZjUzOTgzNzgwM2VlMmRmNDY0NTg1
11
- ZmZlYmFlNmFkODlmZjdmZjE2NWVkOWQxNTZiZGU3ODU2NzIwY2E=
9
+ NmE4YTBiN2QxZmQ5MTllMDI2OGFmMmQ2ODI1ZjQyMjIzYTJiNDE3YzhlODQw
10
+ ZTJmOGNlOGQ5MDdkOGUzMDNiYzc2Mjk4NGQ1ZTYxOTdkYWYxNmE2MWZiNTVj
11
+ YTU1MjEyYmU2NGE3NTMzMmMwNTE3NzlkOTQ3OWExYmNjOTdjOTc=
12
12
  data.tar.gz: !binary |-
13
- NTU3NjA5M2E3OWRhMTk1ZGU2NTcwMWVjM2NjYjhlYjYxYWYxMDdiMWNkMjBh
14
- MTk3ZWE3ODg2M2Q0ZDc2YmYwNGY2ZjkxN2ExOGQyNDAwYWQwNjdlM2ZjMDJl
15
- OTUxYzg5Yjk3OThlNzlkOWUxMjBmNjNiNDMyMjI3NGI4MjMwNTY=
13
+ YTZkMDM4YTNjN2NhODY5OTQwYjQ5ZmU1YmZlYzRhOTI1ZTU5NDNjNTVjNmM3
14
+ NDkzZDU4MjYwMDY2YjgwMjY1ZjcwN2NhYTgwNTdhOTcyMTQ0MzJkYmNiODE0
15
+ NDkzYmUwZDZlZmY5YzU5YzczYmQyZDY1MzdjNTM3M2Y5Yjg3Mzk=
data/README.rdoc CHANGED
@@ -72,7 +72,11 @@ When batches executed without BatchManager, it will write log to $stdout as defa
72
72
 
73
73
  == Web interface
74
74
 
75
- The web interface will at http://localhost:3000/batch_manager, you can also execute batches there.
75
+ Mount the web interface in the routes file.
76
+
77
+ mount BatchManager::Engine, :at => "batch_manager"
78
+
79
+ You can also use web interface to execute batches.
76
80
 
77
81
  == Rake Tasks
78
82
 
@@ -1,5 +1,7 @@
1
1
  module BatchManager
2
2
  class Engine < ::Rails::Engine
3
+ isolate_namespace BatchManager
4
+
3
5
  rake_tasks do
4
6
  Dir[File.join(File.dirname(__FILE__), '../tasks/*.rake')].each { |f| load f }
5
7
  end
@@ -1,4 +1,5 @@
1
1
  module BatchManager
2
2
  class SchemaBatch < ::ActiveRecord::Base
3
+ self.table_name = "schema_batches"
3
4
  end
4
5
  end
@@ -1,3 +1,3 @@
1
1
  module BatchManager
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batch_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Weihu Chen