boilerman 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 916f7b2b7281a097c6b4924fbf2ab7dae32a8036
4
- data.tar.gz: 4ac340ae0bf22bc2f1d1bf1a5eb1b8bb89dc632c
3
+ metadata.gz: 5c4862a5fd466faab09956c10d0f54459b586a16
4
+ data.tar.gz: 2eb9a9ff7645c7d42b5ceefa30c2165c77a96e2a
5
5
  SHA512:
6
- metadata.gz: 7493f6775208f12a0c82245815d1e0ef4614cfa33ce55f0c458cdf3ee7c63615bd0a06541c26566aa0d7df2a6a2db87c020f1cd223bb9f4eeae12ae14201d6fc
7
- data.tar.gz: 23736b011e7ed524f0b628dd757248a3fda28dddbcae303a15510f83297d869fa32e07777d28e78ac8344895fde7b953d290e563c564c96cced974059d58c343
6
+ metadata.gz: 1df057b5388a7cea3d75e5f940f0d9f734acc5e89c0e47af51d4f15675c8cf2e9ee1dd056da3e7c55bfa51129c5f1c1d2831be2351e5536853ab8484cb357a01
7
+ data.tar.gz: 20cce6b12de20dc853c9b50871332003a88d0c5c8cef47baaee78b17a2b6e8e192af97cba4610eccc1877397f809a62a5f4c7db70c7dd50a86fbea8f4bdae877
@@ -16,9 +16,15 @@ module Boilerman
16
16
  # See http://edgeguides.rubyonrails.org/configuring.html#initialization-events
17
17
  class InitializationHooks < Rails::Railtie
18
18
  config.before_initialize do |app|
19
- # Force eager loading of namespaces so that Boilerman has immeddiate
20
- # access to all controllers and models in development enviornments.
21
- app.config.eager_load = true
19
+ if Rails.env.development?
20
+ # Force eager loading of namespaces so that Boilerman has immeddiate
21
+ # access to all controllers and models in development enviornments.
22
+ #
23
+ # Note, this will not propogate code changes and will require server
24
+ # restarts if you change code.
25
+ app.config.eager_load = true
26
+ app.config.cache_classes = true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -1,9 +1,10 @@
1
- require 'bootstrap-sass'
2
- require 'gon'
3
-
4
1
  module Boilerman
5
2
  class Engine < ::Rails::Engine
6
3
  isolate_namespace Boilerman
7
4
  load_generators
5
+
6
+ require 'bootstrap-sass'
7
+ require 'gon'
8
+ require 'jquery-rails'
8
9
  end
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module Boilerman
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boilerman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomek Rabczak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-17 00:00:00.000000000 Z
11
+ date: 2015-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bootstrap-sass
29
43
  requirement: !ruby/object:Gem::Requirement