myreplicator 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/myreplicator/engine.rb +35 -32
- data/lib/myreplicator/version.rb +1 -1
- data/test/dummy/log/development.log +96 -0
- metadata +4 -4
data/lib/myreplicator/engine.rb
CHANGED
@@ -2,43 +2,46 @@ module Myreplicator
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
# isolate_namespace Myreplicator
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
puts "Defined"
|
9
|
-
def self.isolate_namespace(mod)
|
10
|
-
engine_name(ActiveSupport::Inflector.underscore(mod).gsub("/", "_"))
|
11
|
-
|
12
|
-
self.routes.default_scope = { :module => ActiveSupport::Inflector.underscore(mod.name) }
|
13
|
-
self.isolated = true
|
14
|
-
|
15
|
-
unless mod.respond_to?(:railtie_namespace)
|
16
|
-
name, railtie = engine_name, self
|
5
|
+
define_method(:isolate_namespace) do |mod|
|
6
|
+
puts "NOT Defined"
|
7
|
+
engine_name(ActiveSupport::Inflector.underscore(mod).gsub("/", "_"))
|
17
8
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
end
|
24
|
-
|
25
|
-
unless mod.respond_to?(:use_relative_model_naming?)
|
26
|
-
class_eval "def use_relative_model_naming?; true; end", __FILE__, __LINE__
|
27
|
-
end
|
28
|
-
|
29
|
-
unless mod.respond_to?(:railtie_helpers_paths)
|
30
|
-
define_method(:railtie_helpers_paths) { railtie.helpers_paths }
|
31
|
-
end
|
9
|
+
self.routes.default_scope = { :module => ActiveSupport::Inflector.underscore(mod.name) }
|
10
|
+
self.isolated = true
|
11
|
+
|
12
|
+
unless mod.respond_to?(:railtie_namespace)
|
13
|
+
name, railtie = engine_name, self
|
32
14
|
|
33
|
-
|
34
|
-
define_method(:
|
15
|
+
mod.singleton_class.instance_eval do
|
16
|
+
define_method(:railtie_namespace) { railtie }
|
17
|
+
|
18
|
+
unless mod.respond_to?(:table_name_prefix)
|
19
|
+
define_method(:table_name_prefix) { "#{name}_" }
|
20
|
+
end
|
21
|
+
|
22
|
+
unless mod.respond_to?(:use_relative_model_naming?)
|
23
|
+
class_eval "def use_relative_model_naming?; true; end", __FILE__, __LINE__
|
24
|
+
end
|
25
|
+
|
26
|
+
unless mod.respond_to?(:railtie_helpers_paths)
|
27
|
+
define_method(:railtie_helpers_paths) { railtie.helpers_paths }
|
28
|
+
end
|
29
|
+
|
30
|
+
unless mod.respond_to?(:railtie_routes_url_helpers)
|
31
|
+
define_method(:railtie_routes_url_helpers) { railtie.routes_url_helpers }
|
32
|
+
end
|
35
33
|
end
|
36
34
|
end
|
37
|
-
end
|
38
|
-
|
39
|
-
|
40
|
-
|
35
|
+
end unless method_defined? :isolate_namespace
|
36
|
+
|
37
|
+
# if Rails::Engine.method_defined?(:isolate_namespace)
|
38
|
+
# puts "Defined"
|
39
|
+
# isolate_namespace Myreplicator
|
40
|
+
# else
|
41
|
+
|
42
|
+
# end
|
41
43
|
|
44
|
+
isolate_namespace Myreplicator
|
42
45
|
end
|
43
46
|
end
|
44
47
|
|
data/lib/myreplicator/version.rb
CHANGED
@@ -4224,3 +4224,99 @@ Connecting to database specified by database.yml
|
|
4224
4224
|
Connecting to database specified by database.yml
|
4225
4225
|
Connecting to database specified by database.yml
|
4226
4226
|
Connecting to database specified by database.yml
|
4227
|
+
Connecting to database specified by database.yml
|
4228
|
+
Connecting to database specified by database.yml
|
4229
|
+
Connecting to database specified by database.yml
|
4230
|
+
Connecting to database specified by database.yml
|
4231
|
+
Connecting to database specified by database.yml
|
4232
|
+
Connecting to database specified by database.yml
|
4233
|
+
Connecting to database specified by database.yml
|
4234
|
+
Connecting to database specified by database.yml
|
4235
|
+
|
4236
|
+
|
4237
|
+
Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-11-30 16:14:41 -0800
|
4238
|
+
Processing by Myreplicator::ExportsController#index as HTML
|
4239
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `myreplicator_exports` [0m
|
4240
|
+
[1m[35mMyreplicator::Export Load (0.4ms)[0m SELECT `myreplicator_exports`.* FROM `myreplicator_exports` ORDER BY source_schema asc LIMIT 30 OFFSET 0
|
4241
|
+
Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/exports/index.html.erb within layouts/myreplicator/application (54.6ms)
|
4242
|
+
Completed 200 OK in 147ms (Views: 142.4ms | ActiveRecord: 2.0ms)
|
4243
|
+
|
4244
|
+
|
4245
|
+
Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4246
|
+
Served asset /myreplicator/application.css - 304 Not Modified (34ms)
|
4247
|
+
|
4248
|
+
|
4249
|
+
Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4250
|
+
Served asset /myreplicator/chosen.css - 304 Not Modified (1ms)
|
4251
|
+
|
4252
|
+
|
4253
|
+
Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4254
|
+
Served asset /myreplicator/exports.css - 304 Not Modified (1ms)
|
4255
|
+
|
4256
|
+
|
4257
|
+
Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4258
|
+
Served asset /myreplicator/tipTip.css - 304 Not Modified (1ms)
|
4259
|
+
|
4260
|
+
|
4261
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4262
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
4263
|
+
|
4264
|
+
|
4265
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4266
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
4267
|
+
|
4268
|
+
|
4269
|
+
Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4270
|
+
Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (4ms)
|
4271
|
+
|
4272
|
+
|
4273
|
+
Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4274
|
+
Served asset /myreplicator/application.js - 304 Not Modified (8ms)
|
4275
|
+
|
4276
|
+
|
4277
|
+
Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4278
|
+
Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (2ms)
|
4279
|
+
|
4280
|
+
|
4281
|
+
Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4282
|
+
Served asset /myreplicator/exports.js - 304 Not Modified (2ms)
|
4283
|
+
|
4284
|
+
|
4285
|
+
Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4286
|
+
Served asset /myreplicator/cronwtf.js - 304 Not Modified (2ms)
|
4287
|
+
|
4288
|
+
|
4289
|
+
Started GET "/assets/myreplicator/plus.png" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4290
|
+
Served asset /myreplicator/plus.png - 304 Not Modified (2ms)
|
4291
|
+
|
4292
|
+
|
4293
|
+
Started GET "/assets/myreplicator/bg.gif" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4294
|
+
Served asset /myreplicator/bg.gif - 304 Not Modified (1ms)
|
4295
|
+
|
4296
|
+
|
4297
|
+
Started GET "/assets/myreplicator/clipboard-list.png" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4298
|
+
Served asset /myreplicator/clipboard-list.png - 304 Not Modified (2ms)
|
4299
|
+
|
4300
|
+
|
4301
|
+
Started GET "/assets/myreplicator/desc-white.gif" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4302
|
+
Served asset /myreplicator/desc-white.gif - 304 Not Modified (2ms)
|
4303
|
+
|
4304
|
+
|
4305
|
+
Started GET "/assets/myreplicator/gear.png" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4306
|
+
Served asset /myreplicator/gear.png - 304 Not Modified (1ms)
|
4307
|
+
|
4308
|
+
|
4309
|
+
Started GET "/assets/myreplicator/status.png" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4310
|
+
Served asset /myreplicator/status.png - 304 Not Modified (2ms)
|
4311
|
+
|
4312
|
+
|
4313
|
+
Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4314
|
+
Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (27ms)
|
4315
|
+
|
4316
|
+
|
4317
|
+
Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4318
|
+
Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (2ms)
|
4319
|
+
|
4320
|
+
|
4321
|
+
Started GET "/assets/myreplicator/cross.png" for 127.0.0.1 at 2012-11-30 16:14:42 -0800
|
4322
|
+
Served asset /myreplicator/cross.png - 304 Not Modified (2ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myreplicator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -308,7 +308,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
308
308
|
version: '0'
|
309
309
|
segments:
|
310
310
|
- 0
|
311
|
-
hash:
|
311
|
+
hash: -2596193989447623520
|
312
312
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
313
313
|
none: false
|
314
314
|
requirements:
|
@@ -317,7 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
317
317
|
version: '0'
|
318
318
|
segments:
|
319
319
|
- 0
|
320
|
-
hash:
|
320
|
+
hash: -2596193989447623520
|
321
321
|
requirements: []
|
322
322
|
rubyforge_project:
|
323
323
|
rubygems_version: 1.8.23
|