myreplicator 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/config/routes.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  Myreplicator::Engine.routes.draw do
2
- # get "myreplicator" => "myreplicator/home#index" , :as => :myreplicator
3
2
  resources :exports
4
3
  root :to => "home#index"
5
4
  match '/errors', :to => "home#errors", :as => 'errors'
@@ -1,49 +1,7 @@
1
1
  module Myreplicator
2
2
  class Engine < ::Rails::Engine
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("/", "_"))
9
-
10
- # self.routes.default_scope = { :module => ActiveSupport::Inflector.underscore(mod.name) }
11
- # self.isolated = true
12
-
13
- # unless mod.respond_to?(:railtie_namespace)
14
- # name, railtie = engine_name, self
15
-
16
- # mod.singleton_class.instance_eval do
17
- # define_method(:railtie_namespace) { railtie }
18
-
19
- # unless mod.respond_to?(:table_name_prefix)
20
- # define_method(:table_name_prefix) { "#{name}_" }
21
- # end
22
-
23
- # unless mod.respond_to?(:use_relative_model_naming?)
24
- # class_eval "def use_relative_model_naming?; true; end", __FILE__, __LINE__
25
- # end
26
-
27
- # unless mod.respond_to?(:railtie_helpers_paths)
28
- # define_method(:railtie_helpers_paths) { railtie.helpers_paths }
29
- # end
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
42
-
43
- # # end
44
-
3
+
45
4
  isolate_namespace Myreplicator
46
-
47
5
  end
48
6
  end
49
7
 
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
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.12
4
+ version: 0.0.13
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: 2664571950740842242
311
+ hash: 4222513511393533298
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: 2664571950740842242
320
+ hash: 4222513511393533298
321
321
  requirements: []
322
322
  rubyforge_project:
323
323
  rubygems_version: 1.8.23