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.
- data/lib/spree/api/engine.rb +11 -0
- metadata +9 -9
data/lib/spree/api/engine.rb
CHANGED
@@ -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
|
+
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-
|
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: &
|
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.
|
21
|
+
version: 1.0.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70244832221300
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: spree_auth
|
27
|
-
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.
|
32
|
+
version: 1.0.6
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
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: -
|
93
|
+
hash: -231589127991045705
|
94
94
|
requirements:
|
95
95
|
- none
|
96
96
|
rubyforge_project:
|