spree_api 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/spree/api/engine.rb +11 -0
  2. metadata +9 -9
@@ -15,3 +15,14 @@ module Spree
15
15
  end
16
16
  end
17
17
  end
18
+
19
+ # add helper to all the base controllers
20
+ # Spree::BaseController includes Spree::Core::ControllerHelpers
21
+ require 'spree/core/controller_helpers'
22
+ class << Spree::Core::ControllerHelpers
23
+ def included_with_analytics(receiver)
24
+ included_without_analytics(receiver)
25
+ receiver.send :helper, 'spree/analytics'
26
+ end
27
+ alias_method_chain :included, :analytics
28
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,30 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-28 00:00:00.000000000 Z
12
+ date: 2012-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
16
- requirement: &70319046653160 !ruby/object:Gem::Requirement
16
+ requirement: &70244832221300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.4
21
+ version: 1.0.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70319046653160
24
+ version_requirements: *70244832221300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: spree_auth
27
- requirement: &70319046651760 !ruby/object:Gem::Requirement
27
+ requirement: &70244832220860 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.4
32
+ version: 1.0.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70319046651760
35
+ version_requirements: *70244832220860
36
36
  description: Required dependency for Spree
37
37
  email: david@spreecommerce.com
38
38
  executables: []
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: -602877718310586018
93
+ hash: -231589127991045705
94
94
  requirements:
95
95
  - none
96
96
  rubyforge_project: