power_api 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/power_api/engine.rb +2 -4
- data/lib/power_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69e28961ce7f4b6c5920531144bf241684265838d3fe07f547d6d05f611935a6
|
4
|
+
data.tar.gz: 0d4591712d13b1116fe0905ef4e4dc147b60ecbb395e237204eb1013eceb70d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bba5450490bd97068de2315f9240465a014712c31697d22e0941c0f61bef2e1df85ad7d80a3ee8313af7226162929e32d1f17be806046b0351ed1ca44794cafa
|
7
|
+
data.tar.gz: d47318d91d5c5e4083c0a51d3e755fa3d3e562a031d63810b31e7b739bbed68eb2c3185aa2d83541603d70ecf2b0489604fef5495d557e25a8f7333979ab4bbc
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
### v2.0.2
|
6
|
+
|
7
|
+
* Fix: change the way PowerApi::ApplicationHelper is loaded into host app.
|
8
|
+
|
5
9
|
### v2.0.1
|
6
10
|
|
7
11
|
* Fix: trying to reference ApplicationController in wrong namespace.
|
data/Gemfile.lock
CHANGED
data/lib/power_api/engine.rb
CHANGED
@@ -27,10 +27,8 @@ module PowerApi
|
|
27
27
|
require_relative "./generator_helpers"
|
28
28
|
end
|
29
29
|
|
30
|
-
initializer
|
31
|
-
ActiveSupport.on_load
|
32
|
-
::ApplicationController.helper PowerApi::ApplicationHelper
|
33
|
-
end
|
30
|
+
initializer "power_api.view_helpers" do
|
31
|
+
ActiveSupport.on_load(:action_view) { include ::PowerApi::ApplicationHelper }
|
34
32
|
end
|
35
33
|
end
|
36
34
|
end
|
data/lib/power_api/version.rb
CHANGED