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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc92bf2a3d0be71cac08489722b002ec0cee22cc933d5b7a82e5092cefca8753
4
- data.tar.gz: 7941733330cdbb86fa677fe1a4afd9ed58a88ce4825183719eb01ae51ede7f1b
3
+ metadata.gz: 69e28961ce7f4b6c5920531144bf241684265838d3fe07f547d6d05f611935a6
4
+ data.tar.gz: 0d4591712d13b1116fe0905ef4e4dc147b60ecbb395e237204eb1013eceb70d3
5
5
  SHA512:
6
- metadata.gz: d3045bd1e573764b26b88cb755505b4d7620314534d0d6ca1f2b1523a09d91aca08e4e7b9e3731b0f784170a10aab286935ea72cf03f837884fc06d7e5ae5a83
7
- data.tar.gz: 7655ef8bedb8a269ba5df9313a17353b541399642b6aee13fe29bad2fe767db2e4479f3646717fc4bad060a59af492ca3f610ea6f879f91cb11c8f0ee9a30f0d
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- power_api (2.0.1)
4
+ power_api (2.0.2)
5
5
  active_model_serializers (~> 0.10.0)
6
6
  api-pagination
7
7
  kaminari
@@ -27,10 +27,8 @@ module PowerApi
27
27
  require_relative "./generator_helpers"
28
28
  end
29
29
 
30
- initializer 'local_helper.action_controller' do
31
- ActiveSupport.on_load :action_controller do
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
@@ -1,3 +1,3 @@
1
1
  module PowerApi
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platanus