mengpaneel 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: 9efca29568b164986b460fd8b3fc836d021346ec
4
- data.tar.gz: ee8ee64b380a7ddc8e305196df160975db74582d
3
+ metadata.gz: ab694c6f14a13cd2304f7c8a060171e7f83de1d6
4
+ data.tar.gz: c7b5dfca06e69daade6542350222b315cbb57d41
5
5
  SHA512:
6
- metadata.gz: e7f9bd5152134d101e45bf96180db87339d77af0ee561a08d12d4e980a732a2cb1d0147a2f174bcb18b44c417b251ba3d729494a7165eab2d972f3d81f1088d7
7
- data.tar.gz: e8f7b0b6a735ea7f7e76a4f7f8ba73aec5f41d1cc465e45fde2bba1e78a3d784929c425fa4fb47100a6bdd094fa7836af38e9b9fdd22d2507d59475a02ecb115
6
+ metadata.gz: 7760d86d62a5b322bfacf10af32de144069befca8c948bb8b1bdd4ff702c60b7311ecef262ffc55f406ee4603fc0bf3c306d007119a1c2f033b30cf04a415ba5
7
+ data.tar.gz: 5d422e91f3561a7cf909e9914a89645daa3ca03a07d9f9af3f9267533e67edfa31c0e5e2bdb25cb4cf5bb87457f23fa92a8978dcadb21ec6745fd0e284d28492
data/README.md CHANGED
@@ -129,7 +129,7 @@ Second, configure Mengpaneel with your Mixpanel token:
129
129
  # config/initializers/mengpaneel.rb
130
130
 
131
131
  Mengpaneel.configure do |config|
132
- config.token = "abc123" # or use ENV["MIXPANEL_TOKEN"] if you're into 12-factor
132
+ config.token = "abc123" # or use ENV["MIXPANEL_TOKEN"] if you're into 12-factor. It's not set automatically though, you still have to put that line.
133
133
  end
134
134
  ```
135
135
 
@@ -418,4 +418,4 @@ Sure, as long as you adhere to the following license:
418
418
  > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
419
419
  > LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
420
420
  > OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
421
- > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
421
+ > WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -7,7 +7,11 @@ module Mengpaneel
7
7
  extend ActiveSupport::Concern
8
8
 
9
9
  included do
10
- prepend_around_filter :wrap_in_mengpaneel
10
+ if Rails::VERSION::MAJOR >= 5
11
+ prepend_around_action :wrap_in_mengpaneel
12
+ else
13
+ prepend_around_filter :wrap_in_mengpaneel
14
+ end
11
15
 
12
16
  delegate :mixpanel, to: :mengpaneel
13
17
 
@@ -25,4 +29,4 @@ module Mengpaneel
25
29
  end
26
30
  end
27
31
  end
28
- end
32
+ end
@@ -1,3 +1,3 @@
1
1
  module Mengpaneel
2
- VERSION = "0.0.2"
3
- end
2
+ VERSION = "0.0.3"
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mengpaneel
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
  - Douwe Maan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.2.2
120
+ rubygems_version: 2.6.8
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Mengpaneel makes Mixpanel a breeze to use in Rails apps.