spree_dash 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,7 +42,7 @@ module Spree
42
42
  end
43
43
 
44
44
  def completed_analytics_tags
45
- return {} unless @order and @order.complete?
45
+ return {} unless flash[:commerce_tracking] and @order and @order.complete?
46
46
  { :confirm => { :orderid => @order.number,
47
47
  :total => @order.total,
48
48
  :shipping => @order.ship_total,
@@ -0,0 +1,5 @@
1
+ Deface::Override.new(:virtual_path => "spree/admin/shared/_configuration_menu",
2
+ :name => "add_dashboard_sidebar_link",
3
+ :insert_bottom => ".sidebar",
4
+ :text => "<%= configurations_sidebar_menu_item t(:jirafe), admin_analytics_path %>",
5
+ :original => 'a74f177275dc303c9cd5994b2e24e027434c3cbb')
@@ -3,4 +3,7 @@ Spree::Core::Engine.routes.prepend do
3
3
 
4
4
  get '/admin/analytics/sign_up' => 'admin/analytics#sign_up', :as => :admin_analytics_sign_up
5
5
  post '/admin/analytics/register' => 'admin/analytics#register', :as => :admin_analytics_register
6
+
7
+ get '/jirafe' => 'admin/analytics#edit', :as => :admin_analytics
8
+ put '/jirafe' => 'admin/analytics#update', :as => :admin_analytics
6
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_dash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-19 00:00:00.000000000 Z
12
+ date: 2013-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
16
- requirement: &70164905576440 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - =
19
+ - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.2.2
21
+ version: 1.2.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70164905576440
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.2.3
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: httparty
27
- requirement: &70164905575100 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: 0.8.1
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70164905575100
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.8.1
36
46
  description: Required dependency for Spree
37
47
  email: brian@spreecommerce.com
38
48
  executables: []
@@ -48,6 +58,7 @@ files:
48
58
  - app/helpers/spree/analytics_helper.rb
49
59
  - app/models/spree/dash_configuration.rb
50
60
  - app/overrides/analytics_header.rb
61
+ - app/overrides/configuration_menu_link.rb
51
62
  - app/views/spree/admin/analytics/sign_up.html.erb
52
63
  - app/views/spree/admin/overview/index.html.erb
53
64
  - app/views/spree/analytics/_header.html.erb
@@ -58,7 +69,8 @@ files:
58
69
  - lib/spree/dash.rb
59
70
  - lib/spree_dash.rb
60
71
  homepage: http://spreecommerce.com
61
- licenses: []
72
+ licenses:
73
+ - BSD-3
62
74
  post_install_message:
63
75
  rdoc_options: []
64
76
  require_paths:
@@ -77,11 +89,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
89
  version: '0'
78
90
  segments:
79
91
  - 0
80
- hash: -964028216572937826
92
+ hash: -3997736162121896302
81
93
  requirements:
82
94
  - none
83
95
  rubyforge_project:
84
- rubygems_version: 1.8.10
96
+ rubygems_version: 1.8.23
85
97
  signing_key:
86
98
  specification_version: 3
87
99
  summary: Overview dashboard for use with Spree.