spree_froomerce_fconnect 0.70.2 → 0.70.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -18
- data/README.md +5 -4
- data/Versionfile +1 -1
- data/app/assets/stylesheets/application.css +0 -104
- data/app/controllers/froomerce_products_controller.rb +5 -13
- data/config/locales/en.yml +1 -1
- data/spree_froomerce_fconnect.gemspec +2 -2
- metadata +5 -6
- data/Gemfile.lock +0 -222
data/Gemfile
CHANGED
@@ -1,20 +1,2 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
|
-
|
3
|
-
group :test do
|
4
|
-
gem 'rspec-rails', '= 2.6.1'
|
5
|
-
end
|
6
|
-
|
7
|
-
group :cucumber do
|
8
|
-
gem 'cucumber-rails', '1.0.0'
|
9
|
-
gem 'database_cleaner', '= 0.6.7'
|
10
|
-
gem 'nokogiri'
|
11
|
-
gem 'capybara', '1.0.1'
|
12
|
-
end
|
13
|
-
|
14
|
-
if RUBY_VERSION < "1.9"
|
15
|
-
gem "ruby-debug"
|
16
|
-
else
|
17
|
-
gem "ruby-debug19"
|
18
|
-
end
|
19
|
-
|
20
2
|
gemspec
|
data/README.md
CHANGED
@@ -41,7 +41,7 @@ configure the store to have “Want” and “Need” buttons.
|
|
41
41
|
|
42
42
|
You get detailed statistics on not only the products but also demographics from
|
43
43
|
Facebook Page e.g., how many males and females came on your page, what were their
|
44
|
-
age groups etc. You receive weekly statistics
|
44
|
+
age groups etc. You receive weekly statistics E-Mails.
|
45
45
|
|
46
46
|
### Custom campaigns
|
47
47
|
|
@@ -65,10 +65,11 @@ And it is not compatible with `Rails 2.x`
|
|
65
65
|
# Installation
|
66
66
|
|
67
67
|
spree_froomerce_fconnect is distributed as a gem, which is how it should be used in your application.
|
68
|
-
|
68
|
+
Following steps are to be performed consecutively for this extension to work properly:
|
69
69
|
|
70
|
-
* Add following line to the Gemfile: `gem
|
71
|
-
*
|
70
|
+
* Add following line to the Gemfile: `gem 'spree_froomerce_fconnect'` or
|
71
|
+
* To use the latest version add `gem 'spree_froomerce_fconnect', :git => 'git@github.com:froomerce/spree_froomerce_fconnect.git'` in your Gemfile.
|
72
|
+
* Then run `bundle install` to install the gem
|
72
73
|
* Run `rails g spree_froomerce_fconnect:install` to add and run required migrations.
|
73
74
|
|
74
75
|
And you are ready to go!
|
data/Versionfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"0.70.
|
1
|
+
"0.70.x" => { :branch => "0-70-stable" }
|
2
2
|
|
@@ -1,107 +1,3 @@
|
|
1
1
|
/*
|
2
2
|
*= require store/spree_core
|
3
3
|
*/
|
4
|
-
|
5
|
-
body {
|
6
|
-
font-family:Arial, Helvetica, sans-serif;
|
7
|
-
font-size:12px;
|
8
|
-
color:#4e4e4e;
|
9
|
-
}
|
10
|
-
* {
|
11
|
-
margin:0px;
|
12
|
-
padding:0px;
|
13
|
-
}
|
14
|
-
.clr {
|
15
|
-
clear:both;
|
16
|
-
}
|
17
|
-
ul, li {
|
18
|
-
list-style:none;
|
19
|
-
}
|
20
|
-
#layout {
|
21
|
-
width:990px;
|
22
|
-
margin:auto;
|
23
|
-
}
|
24
|
-
#header {
|
25
|
-
height:25px;
|
26
|
-
padding:15px 10px 5px 20px;
|
27
|
-
border-bottom:3px solid #dfdfdf;
|
28
|
-
position:relative;
|
29
|
-
margin-bottom:18px;
|
30
|
-
}
|
31
|
-
#header h1{
|
32
|
-
font-size:16px;
|
33
|
-
font-weight:bold;
|
34
|
-
color:#eb5e00;
|
35
|
-
position:absolute;
|
36
|
-
width:775px;
|
37
|
-
}
|
38
|
-
#header .btnArea {
|
39
|
-
position:absolute;
|
40
|
-
right:0;
|
41
|
-
}
|
42
|
-
#header .btnArea input {
|
43
|
-
float:left;
|
44
|
-
background:url(admin/submit-btn.gif) no-repeat left top;
|
45
|
-
width:113px;
|
46
|
-
border:none;
|
47
|
-
font-family:inherit;
|
48
|
-
font-size:12px;
|
49
|
-
color:#fff;
|
50
|
-
padding:1px 5px 3px 20px;
|
51
|
-
text-align:center;
|
52
|
-
cursor:pointer;
|
53
|
-
}
|
54
|
-
#header .btnArea input[type="reset"]{
|
55
|
-
float:left;
|
56
|
-
background:url(admin/reset-btn.gif) no-repeat left top;
|
57
|
-
width:55px;
|
58
|
-
padding:1px 0px 3px;
|
59
|
-
margin-right:10px;
|
60
|
-
}
|
61
|
-
#hd-bar {
|
62
|
-
background:#6f8992;
|
63
|
-
height:16px;
|
64
|
-
color:#fff;
|
65
|
-
padding:3px 10px 3px 20px;
|
66
|
-
}
|
67
|
-
#hd-bar h2 {
|
68
|
-
font-size:14px;
|
69
|
-
font-weight:bold;
|
70
|
-
line-height:16px;
|
71
|
-
float:left;
|
72
|
-
color:#FFFFFF;
|
73
|
-
width:700px;
|
74
|
-
}
|
75
|
-
#hd-bar .link {
|
76
|
-
float:right;
|
77
|
-
}
|
78
|
-
#hd-bar .link a {
|
79
|
-
color:#fff;
|
80
|
-
}
|
81
|
-
#hd-bar .link a:hover {
|
82
|
-
text-decoration:none;
|
83
|
-
}
|
84
|
-
#contactBox {
|
85
|
-
border:1px solid #d6d6d6;
|
86
|
-
background:#fafafa;
|
87
|
-
padding:20px;
|
88
|
-
}
|
89
|
-
#contactBox ul li {
|
90
|
-
float:left;
|
91
|
-
margin-bottom:10px;
|
92
|
-
width:900px;
|
93
|
-
}
|
94
|
-
#contactBox ul li label {
|
95
|
-
float:left;
|
96
|
-
width:300px;
|
97
|
-
margin-right:10px;
|
98
|
-
margin-top:3px;
|
99
|
-
}
|
100
|
-
#contactBox ul li input {
|
101
|
-
font-family:inherit;
|
102
|
-
font-size:inherit;
|
103
|
-
float:left;
|
104
|
-
width:280px;
|
105
|
-
padding:3px;
|
106
|
-
border:#c8c8c8 1px solid;
|
107
|
-
}
|
@@ -61,19 +61,11 @@ class FroomerceProductsController < ApplicationController
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def truncate_all_tables
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
redirect_to admin_froomerce_path
|
70
|
-
return
|
71
|
-
else
|
72
|
-
flash[:error] = I18n.t('.error.no_privilege')
|
73
|
-
redirect_to admin_export_shop_path
|
74
|
-
return
|
75
|
-
end
|
76
|
-
|
64
|
+
FroomerceUser.delete_all
|
65
|
+
FroomerceConfig.delete_all
|
66
|
+
FroomerceProductStatus.delete_all
|
67
|
+
flash[:notice] = I18n.t('notify_truncate')
|
68
|
+
redirect_to admin_froomerce_path
|
77
69
|
end
|
78
70
|
|
79
71
|
end
|
data/config/locales/en.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_froomerce_fconnect'
|
5
|
-
s.version = '0.70.
|
5
|
+
s.version = '0.70.3'
|
6
6
|
s.summary = 'Create your store to Facebook and create product widgets for your Fan Page'
|
7
7
|
s.description = 'Create your store to Facebook and create product widgets for your Fan Page'
|
8
8
|
s.required_ruby_version = '>= 1.8.7'
|
@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.require_path = 'lib'
|
16
16
|
s.requirements << 'none'
|
17
17
|
|
18
|
-
s.add_dependency 'spree_core', '>= 0.70.
|
18
|
+
s.add_dependency 'spree_core', '>= 0.70.0'
|
19
19
|
end
|
20
20
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_froomerce_fconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.70.
|
4
|
+
version: 0.70.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-19 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spree_core
|
16
|
-
requirement: &
|
16
|
+
requirement: &78167060 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.70.
|
21
|
+
version: 0.70.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *78167060
|
25
25
|
description: Create your store to Facebook and create product widgets for your Fan
|
26
26
|
Page
|
27
27
|
email: ali.naqi@coeus-solutions.de
|
@@ -32,7 +32,6 @@ files:
|
|
32
32
|
- .gitignore
|
33
33
|
- .rspec
|
34
34
|
- Gemfile
|
35
|
-
- Gemfile.lock
|
36
35
|
- LICENSE
|
37
36
|
- README.md
|
38
37
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,222 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
spree_froomerce_fconnect (0.70.1)
|
5
|
-
spree_core (>= 0.70.1)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.1.3)
|
11
|
-
actionpack (= 3.1.3)
|
12
|
-
mail (~> 2.3.0)
|
13
|
-
actionpack (3.1.3)
|
14
|
-
activemodel (= 3.1.3)
|
15
|
-
activesupport (= 3.1.3)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
i18n (~> 0.6)
|
19
|
-
rack (~> 1.3.5)
|
20
|
-
rack-cache (~> 1.1)
|
21
|
-
rack-mount (~> 0.8.2)
|
22
|
-
rack-test (~> 0.6.1)
|
23
|
-
sprockets (~> 2.0.3)
|
24
|
-
activemerchant (1.17.0)
|
25
|
-
activesupport (>= 2.3.11)
|
26
|
-
braintree (>= 2.0.0)
|
27
|
-
builder (>= 2.0.0)
|
28
|
-
json (>= 1.5.1)
|
29
|
-
activemodel (3.1.3)
|
30
|
-
activesupport (= 3.1.3)
|
31
|
-
builder (~> 3.0.0)
|
32
|
-
i18n (~> 0.6)
|
33
|
-
activerecord (3.1.3)
|
34
|
-
activemodel (= 3.1.3)
|
35
|
-
activesupport (= 3.1.3)
|
36
|
-
arel (~> 2.2.1)
|
37
|
-
tzinfo (~> 0.3.29)
|
38
|
-
activeresource (3.1.3)
|
39
|
-
activemodel (= 3.1.3)
|
40
|
-
activesupport (= 3.1.3)
|
41
|
-
activesupport (3.1.3)
|
42
|
-
multi_json (~> 1.0)
|
43
|
-
acts_as_list (0.1.4)
|
44
|
-
archive-tar-minitar (0.5.2)
|
45
|
-
arel (2.2.1)
|
46
|
-
braintree (2.13.2)
|
47
|
-
builder (>= 2.0.0)
|
48
|
-
builder (3.0.0)
|
49
|
-
capybara (1.0.1)
|
50
|
-
mime-types (>= 1.16)
|
51
|
-
nokogiri (>= 1.3.3)
|
52
|
-
rack (>= 1.0.0)
|
53
|
-
rack-test (>= 0.5.4)
|
54
|
-
selenium-webdriver (~> 2.0)
|
55
|
-
xpath (~> 0.1.4)
|
56
|
-
childprocess (0.2.8)
|
57
|
-
ffi (~> 1.0.6)
|
58
|
-
cocaine (0.2.1)
|
59
|
-
columnize (0.3.6)
|
60
|
-
cucumber (1.0.6)
|
61
|
-
builder (>= 2.1.2)
|
62
|
-
diff-lcs (>= 1.1.2)
|
63
|
-
gherkin (~> 2.4.18)
|
64
|
-
json (>= 1.4.6)
|
65
|
-
term-ansicolor (>= 1.0.6)
|
66
|
-
cucumber-rails (1.0.0)
|
67
|
-
capybara (>= 1.0.0)
|
68
|
-
cucumber (~> 1.0.0)
|
69
|
-
nokogiri (>= 1.4.4)
|
70
|
-
rack-test (>= 0.5.7)
|
71
|
-
database_cleaner (0.6.7)
|
72
|
-
deface (0.7.2)
|
73
|
-
nokogiri (~> 1.5.0)
|
74
|
-
rails (>= 3.0.9)
|
75
|
-
diff-lcs (1.1.3)
|
76
|
-
erubis (2.7.0)
|
77
|
-
faker (1.0.0)
|
78
|
-
i18n (~> 0.4)
|
79
|
-
ffi (1.0.11)
|
80
|
-
gherkin (2.4.21)
|
81
|
-
json (>= 1.4.6)
|
82
|
-
highline (1.6.2)
|
83
|
-
hike (1.2.1)
|
84
|
-
i18n (0.6.0)
|
85
|
-
jquery-rails (1.0.19)
|
86
|
-
railties (~> 3.0)
|
87
|
-
thor (~> 0.14)
|
88
|
-
json (1.6.4)
|
89
|
-
kaminari (0.13.0)
|
90
|
-
actionpack (>= 3.0.0)
|
91
|
-
activesupport (>= 3.0.0)
|
92
|
-
railties (>= 3.0.0)
|
93
|
-
linecache19 (0.5.12)
|
94
|
-
ruby_core_source (>= 0.1.4)
|
95
|
-
mail (2.3.0)
|
96
|
-
i18n (>= 0.4.0)
|
97
|
-
mime-types (~> 1.16)
|
98
|
-
treetop (~> 1.4.8)
|
99
|
-
meta_search (1.1.1)
|
100
|
-
actionpack (~> 3.1.0)
|
101
|
-
activerecord (~> 3.1.0)
|
102
|
-
activesupport (~> 3.1.0)
|
103
|
-
polyamorous (~> 0.5.0)
|
104
|
-
mime-types (1.17.2)
|
105
|
-
multi_json (1.0.4)
|
106
|
-
nested_set (1.6.8)
|
107
|
-
activerecord (>= 3.0.0)
|
108
|
-
railties (>= 3.0.0)
|
109
|
-
nokogiri (1.5.0)
|
110
|
-
paperclip (2.4.1)
|
111
|
-
activerecord (>= 2.3.0)
|
112
|
-
activesupport (>= 2.3.2)
|
113
|
-
cocaine (>= 0.0.2)
|
114
|
-
mime-types
|
115
|
-
polyamorous (0.5.0)
|
116
|
-
activerecord (~> 3.0)
|
117
|
-
polyglot (0.3.3)
|
118
|
-
rack (1.3.6)
|
119
|
-
rack-cache (1.1)
|
120
|
-
rack (>= 0.4)
|
121
|
-
rack-mount (0.8.3)
|
122
|
-
rack (>= 1.0.0)
|
123
|
-
rack-ssl (1.3.2)
|
124
|
-
rack
|
125
|
-
rack-test (0.6.1)
|
126
|
-
rack (>= 1.0)
|
127
|
-
rails (3.1.3)
|
128
|
-
actionmailer (= 3.1.3)
|
129
|
-
actionpack (= 3.1.3)
|
130
|
-
activerecord (= 3.1.3)
|
131
|
-
activeresource (= 3.1.3)
|
132
|
-
activesupport (= 3.1.3)
|
133
|
-
bundler (~> 1.0)
|
134
|
-
railties (= 3.1.3)
|
135
|
-
railties (3.1.3)
|
136
|
-
actionpack (= 3.1.3)
|
137
|
-
activesupport (= 3.1.3)
|
138
|
-
rack-ssl (~> 1.3.2)
|
139
|
-
rake (>= 0.8.7)
|
140
|
-
rdoc (~> 3.4)
|
141
|
-
thor (~> 0.14.6)
|
142
|
-
rake (0.9.2.2)
|
143
|
-
rd_find_by_param (0.1.1)
|
144
|
-
activerecord (~> 3.0)
|
145
|
-
activesupport (~> 3.0)
|
146
|
-
rd_resource_controller (1.0.1)
|
147
|
-
rdoc (3.12)
|
148
|
-
json (~> 1.4)
|
149
|
-
rspec (2.6.0)
|
150
|
-
rspec-core (~> 2.6.0)
|
151
|
-
rspec-expectations (~> 2.6.0)
|
152
|
-
rspec-mocks (~> 2.6.0)
|
153
|
-
rspec-core (2.6.4)
|
154
|
-
rspec-expectations (2.6.0)
|
155
|
-
diff-lcs (~> 1.1.2)
|
156
|
-
rspec-mocks (2.6.0)
|
157
|
-
rspec-rails (2.6.1)
|
158
|
-
actionpack (~> 3.0)
|
159
|
-
activesupport (~> 3.0)
|
160
|
-
railties (~> 3.0)
|
161
|
-
rspec (~> 2.6.0)
|
162
|
-
ruby-debug-base19 (0.11.25)
|
163
|
-
columnize (>= 0.3.1)
|
164
|
-
linecache19 (>= 0.5.11)
|
165
|
-
ruby_core_source (>= 0.1.4)
|
166
|
-
ruby-debug19 (0.11.6)
|
167
|
-
columnize (>= 0.3.1)
|
168
|
-
linecache19 (>= 0.5.11)
|
169
|
-
ruby-debug-base19 (>= 0.11.19)
|
170
|
-
ruby_core_source (0.1.5)
|
171
|
-
archive-tar-minitar (>= 0.5.2)
|
172
|
-
rubyzip (0.9.5)
|
173
|
-
selenium-webdriver (2.16.0)
|
174
|
-
childprocess (>= 0.2.5)
|
175
|
-
ffi (~> 1.0.9)
|
176
|
-
multi_json (~> 1.0.4)
|
177
|
-
rubyzip
|
178
|
-
spree_core (0.70.3)
|
179
|
-
activemerchant (= 1.17.0)
|
180
|
-
acts_as_list (= 0.1.4)
|
181
|
-
deface (>= 0.7.0)
|
182
|
-
faker (= 1.0.0)
|
183
|
-
highline (= 1.6.2)
|
184
|
-
jquery-rails (>= 1.0.14)
|
185
|
-
kaminari (>= 0.12.4)
|
186
|
-
meta_search (= 1.1.1)
|
187
|
-
nested_set (= 1.6.8)
|
188
|
-
paperclip (= 2.4.1)
|
189
|
-
rails (>= 3.1.1, <= 3.1.3)
|
190
|
-
rd_find_by_param (= 0.1.1)
|
191
|
-
rd_resource_controller
|
192
|
-
state_machine (= 1.0.1)
|
193
|
-
stringex (= 1.0.3)
|
194
|
-
sprockets (2.0.3)
|
195
|
-
hike (~> 1.2)
|
196
|
-
rack (~> 1.0)
|
197
|
-
tilt (~> 1.1, != 1.3.0)
|
198
|
-
sqlite3 (1.3.5)
|
199
|
-
state_machine (1.0.1)
|
200
|
-
stringex (1.0.3)
|
201
|
-
term-ansicolor (1.0.7)
|
202
|
-
thor (0.14.6)
|
203
|
-
tilt (1.3.3)
|
204
|
-
treetop (1.4.10)
|
205
|
-
polyglot
|
206
|
-
polyglot (>= 0.3.1)
|
207
|
-
tzinfo (0.3.31)
|
208
|
-
xpath (0.1.4)
|
209
|
-
nokogiri (~> 1.3)
|
210
|
-
|
211
|
-
PLATFORMS
|
212
|
-
ruby
|
213
|
-
|
214
|
-
DEPENDENCIES
|
215
|
-
capybara (= 1.0.1)
|
216
|
-
cucumber-rails (= 1.0.0)
|
217
|
-
database_cleaner (= 0.6.7)
|
218
|
-
nokogiri
|
219
|
-
rspec-rails (= 2.6.1)
|
220
|
-
ruby-debug19
|
221
|
-
spree_froomerce_fconnect!
|
222
|
-
sqlite3
|