myreplicator 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,48 +1,49 @@
1
1
  module Myreplicator
2
2
  class Engine < ::Rails::Engine
3
3
  # isolate_namespace Myreplicator
4
- metaclass = class << self; self; end
5
- class << self
6
- define_method(:isolate_namespace) do |mod|
7
- puts "NOT Defined"
8
- engine_name(ActiveSupport::Inflector.underscore(mod).gsub("/", "_"))
4
+ # metaclass = class << self; self; end
5
+ # class << self
6
+ # define_method(:isolate_namespace) do |mod|
7
+ # puts "NOT Defined"
8
+ # engine_name(ActiveSupport::Inflector.underscore(mod).gsub("/", "_"))
9
9
 
10
- self.routes.default_scope = { :module => ActiveSupport::Inflector.underscore(mod.name) }
11
- self.isolated = true
10
+ # self.routes.default_scope = { :module => ActiveSupport::Inflector.underscore(mod.name) }
11
+ # self.isolated = true
12
12
 
13
- unless mod.respond_to?(:railtie_namespace)
14
- name, railtie = engine_name, self
13
+ # unless mod.respond_to?(:railtie_namespace)
14
+ # name, railtie = engine_name, self
15
15
 
16
- mod.singleton_class.instance_eval do
17
- define_method(:railtie_namespace) { railtie }
16
+ # mod.singleton_class.instance_eval do
17
+ # define_method(:railtie_namespace) { railtie }
18
18
 
19
- unless mod.respond_to?(:table_name_prefix)
20
- define_method(:table_name_prefix) { "#{name}_" }
21
- end
19
+ # unless mod.respond_to?(:table_name_prefix)
20
+ # define_method(:table_name_prefix) { "#{name}_" }
21
+ # end
22
22
 
23
- unless mod.respond_to?(:use_relative_model_naming?)
24
- class_eval "def use_relative_model_naming?; true; end", __FILE__, __LINE__
25
- end
23
+ # unless mod.respond_to?(:use_relative_model_naming?)
24
+ # class_eval "def use_relative_model_naming?; true; end", __FILE__, __LINE__
25
+ # end
26
26
 
27
- unless mod.respond_to?(:railtie_helpers_paths)
28
- define_method(:railtie_helpers_paths) { railtie.helpers_paths }
29
- end
27
+ # unless mod.respond_to?(:railtie_helpers_paths)
28
+ # define_method(:railtie_helpers_paths) { railtie.helpers_paths }
29
+ # end
30
30
 
31
- unless mod.respond_to?(:railtie_routes_url_helpers)
32
- define_method(:railtie_routes_url_helpers) { railtie.routes_url_helpers }
33
- end
34
- end
35
- end
36
- end unless method_defined? :isolate_namespace
37
- end
38
- # if Rails::Engine.method_defined?(:isolate_namespace)
39
- # puts "Defined"
40
- # isolate_namespace Myreplicator
41
- # else
31
+ # unless mod.respond_to?(:railtie_routes_url_helpers)
32
+ # define_method(:railtie_routes_url_helpers) { railtie.routes_url_helpers }
33
+ # end
34
+ # end
35
+ # end
36
+ # end unless method_defined? :isolate_namespace
37
+ # end
38
+ # # if Rails::Engine.method_defined?(:isolate_namespace)
39
+ # # puts "Defined"
40
+ # # isolate_namespace Myreplicator
41
+ # # else
42
42
 
43
- # end
43
+ # # end
44
44
 
45
- isolate_namespace Myreplicator
45
+ # isolate_namespace Myreplicator
46
+
46
47
  end
47
48
  end
48
49
 
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -4322,3 +4322,4 @@ Started GET "/assets/myreplicator/cross.png" for 127.0.0.1 at 2012-11-30 16:14:4
4322
4322
  Served asset /myreplicator/cross.png - 304 Not Modified (2ms)
4323
4323
  Connecting to database specified by database.yml
4324
4324
  Connecting to database specified by database.yml
4325
+ Connecting to database specified by database.yml
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.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -308,7 +308,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
308
308
  version: '0'
309
309
  segments:
310
310
  - 0
311
- hash: -235991574454065014
311
+ hash: 1853571065861257590
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: -235991574454065014
320
+ hash: 1853571065861257590
321
321
  requirements: []
322
322
  rubyforge_project:
323
323
  rubygems_version: 1.8.23