marty 2.0.5 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffd307cad5e36e80a7b0f84abca0306c98076872
4
- data.tar.gz: 8ad4f67eced90bb59d060f308e2e87bc9e601110
3
+ metadata.gz: cb20c0c17b789a6d536df2d8cda264d970017f7a
4
+ data.tar.gz: 14a7749520e7873293f76f983d40216d75ba086b
5
5
  SHA512:
6
- metadata.gz: c66b93be4cb2cee3498df5cf389fa547ac68e201224c1f8da7d43e559c026e512084aa60915a9c80b1fa94d52649c5235301cf4160d84a1dc956ec04f0cfc8a4
7
- data.tar.gz: 4f0a35121186f02e00330a8ffd6d3922b8cc64dd0fae621fa94f18f153510d47cbb1831164d4e68af95856c09f34f6032882582d987457de60be5231cbb69f1b
6
+ metadata.gz: 02b863d6700821ca598cea99cc08278b49d1d2682db2b136cb8433b19c00838b0db8cf481cfb732480597ed7d87776592cbfeed8023a6d2c7835bf6c7009e177
7
+ data.tar.gz: cd2f4c0508a096a6d817885e35f2fa66896428053280bde96b340400dfc58380929cb33cb26c36ad571814f589fa9e718dfb84a65d9dd493d0cb4a2787b4a5ea
data/lib/marty/engine.rb CHANGED
@@ -2,9 +2,11 @@ module Marty
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Marty
4
4
 
5
- config.autoload_paths << File.expand_path("../../../lib", __FILE__)
6
- config.autoload_paths << File.expand_path("../../../components", __FILE__)
7
- config.autoload_paths << File.expand_path("../../../other", __FILE__)
5
+ # eager load paths instead of autoload paths
6
+ config.eager_load_paths += ['lib', 'other'].map do
7
+ |dir|
8
+ File.expand_path("../../../#{dir}", __FILE__)
9
+ end
8
10
 
9
11
  # generators add rspec tests
10
12
  config.generators do |g|
data/lib/marty/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Marty
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
3
3
  end
@@ -1,5 +1,3 @@
1
- class Gemini::EnumEventOperation < Gemini::Base
2
- extend Marty::EnumEventOperation
3
-
4
- VALUES = set['PRICING', 'CRA', 'AVM']
1
+ class Gemini::EnumEventOperation < Marty::EnumEventOperation
2
+ VALUES = Set['PRICING', 'CRA', 'AVM']
5
3
  end
@@ -19,9 +19,6 @@ module Dummy
19
19
  # Application configuration should go into files in config/initializers
20
20
  # -- all .rb files in that directory are automatically loaded.
21
21
 
22
- # Custom directories with classes and modules you want to be autoloadable.
23
- config.autoload_paths += %W(#{config.root}/lib)
24
-
25
22
  # Only load the plugins named here, in the order given (default is alphabetical).
26
23
  # :all can be used as a placeholder for all plugins not explicitly named.
27
24
  # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
@@ -64,6 +64,5 @@ Dummy::Application.configure do
64
64
  # Log the query plan for queries taking more than this (works
65
65
  # with SQLite, MySQL, and PostgreSQL)
66
66
  # config.active_record.auto_explain_threshold_in_seconds = 0.5
67
-
68
67
  config.eager_load = true
69
68
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marty
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arman Bostani