the_mechanic_2 0.1.0 → 0.1.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9dcefb28ca750b5d08ffb9d386fe32e8d34a900c0ee1dffcf553b2ac6749709
4
- data.tar.gz: 252eb9d7182588e6b1f26013ab1b59917b02c09e11726190fb6f426aa44e2f53
3
+ metadata.gz: 2e8e9bc35b1dab5caae5f8a52a5264d6859818e69fa7c88e3bbdb7f3d6465fcd
4
+ data.tar.gz: c7e0b86b7566b316b5ad5ff9f1194cf67f13706ba7aad4c35f7a0f3253c91b5e
5
5
  SHA512:
6
- metadata.gz: 1e7a45220f066f260365325abd65e857ef8ea82cd3a6cf6c187c880c1b01fdd5d6904ab9629fda45d70fc2fdb5cc8007ae547f7b44f6a8bb5cf887f8176a6170
7
- data.tar.gz: 64f74833b90beaffe0cafdb1f90e757ecc7b21353e842f6ad4b57dfa77587aae451702dec77ba463e0699f1c094c88cc94d5044ea1c8681a37ee25675528104d
6
+ metadata.gz: c2c7fddc2a3e50f9b61524aed923a273398a4082f1d7af4350665d93fe0e6effcffdfa095bc6302908209111ae030e826116e6d0ac8c4d0fc73a324b76cdc4eb
7
+ data.tar.gz: 22b58b9e344a743da98522d5a2367c6cf0b8f839a4763156cc305fb7d73b423377937a784e8fa3e3e8b9f0ea62e622d80cec297fae354b30d47de3b45737f11a
data/config/routes.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  TheMechanic2::Engine.routes.draw do
2
+ # Routes are automatically namespaced due to isolate_namespace
2
3
  root to: 'benchmarks#index'
3
4
 
4
5
  post 'validate', to: 'benchmarks#validate'
@@ -9,10 +9,10 @@ module TheMechanic2
9
9
  g.factory_bot dir: 'spec/factories'
10
10
  end
11
11
 
12
- # Ensure services are autoloaded
13
- config.autoload_paths << File.expand_path('../../app/services', __dir__)
14
-
15
- # Explicitly set view paths for the engine
16
- config.paths["app/views"].unshift(File.expand_path('../../app/views', __dir__))
12
+ # Rails will automatically load from these paths
13
+ # Just ensure they're in the engine's load path
14
+ config.eager_load_paths << root.join('app', 'controllers')
15
+ config.eager_load_paths << root.join('app', 'services')
16
+ config.eager_load_paths << root.join('app', 'models')
17
17
  end
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module TheMechanic2
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_mechanic_2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrpandapants