spree_froomerce_fconnect 0.70.2
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.
- data/.gitignore +11 -0
- data/.rspec +1 -0
- data/Gemfile +20 -0
- data/Gemfile.lock +222 -0
- data/LICENSE +26 -0
- data/README.md +76 -0
- data/Rakefile +31 -0
- data/Versionfile +2 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/javascripts/admin/froomerces.js +2 -0
- data/app/assets/javascripts/admin/spree_froomerce_fconnect.js +1 -0
- data/app/assets/javascripts/froomerce_products.js +2 -0
- data/app/assets/javascripts/store/spree_froomerce_fconnect.js +1 -0
- data/app/assets/stylesheets/admin/froomerces.css +4 -0
- data/app/assets/stylesheets/admin/spree_froomerce_fconnect.css +3 -0
- data/app/assets/stylesheets/application.css +107 -0
- data/app/assets/stylesheets/froomerce_products.css +4 -0
- data/app/assets/stylesheets/store/spree_froomerce_fconnect.css +3 -0
- data/app/controllers/admin/froomerces_controller.rb +200 -0
- data/app/controllers/froomerce_products_controller.rb +79 -0
- data/app/helpers/admin/froomerces_helper.rb +2 -0
- data/app/helpers/froomerce_products_helper.rb +2 -0
- data/app/models/froomerce_config.rb +8 -0
- data/app/models/froomerce_product_status.rb +11 -0
- data/app/models/froomerce_user.rb +3 -0
- data/app/models/product_decorator.rb +4 -0
- data/app/models/taxon_decorator.rb +20 -0
- data/app/overrides/froomerce_tab.rb +5 -0
- data/app/views/admin/froomerces/export_facebook.html.erb +122 -0
- data/app/views/admin/froomerces/export_facebook_widgets.html.erb +108 -0
- data/app/views/admin/froomerces/export_shop.html.erb +56 -0
- data/app/views/admin/froomerces/index.html.erb +39 -0
- data/app/views/admin/shared/_froomerce_sub_menu.html.erb +8 -0
- data/app/views/froomerce_products/call_backs.html.erb +25 -0
- data/app/views/froomerce_products/feed_url.xml.builder +86 -0
- data/app/views/froomerce_products/index.xml.builder +83 -0
- data/config/locales/en.yml +72 -0
- data/config/routes.rb +29 -0
- data/db/migrate/20120111085252_create_froomerce_users.rb +11 -0
- data/db/migrate/20120113072837_create_froomerce_configs.rb +12 -0
- data/db/migrate/20120203125952_create_froomerce_product_statuses.rb +10 -0
- data/lib/api_calls.rb +37 -0
- data/lib/call_backs.rb +141 -0
- data/lib/generators/spree_froomerce_fconnect/install/install_generator.rb +20 -0
- data/lib/spree_froomerce_fconnect/engine.rb +25 -0
- data/lib/spree_froomerce_fconnect.rb +2 -0
- data/script/rails +7 -0
- data/spec/controllers/admin/froomerces_controller_spec.rb +5 -0
- data/spec/controllers/froomerce_products_controller_spec.rb +5 -0
- data/spec/helpers/admin/froomerces_helper_spec.rb +15 -0
- data/spec/helpers/froomerce_products_helper_spec.rb +15 -0
- data/spec/models/froomerce_config_spec.rb +5 -0
- data/spec/models/froomerce_product_status_spec.rb +5 -0
- data/spec/models/froomerce_user_spec.rb +5 -0
- data/spec/spec_helper.rb +31 -0
- data/spree_froomerce_fconnect.gemspec +20 -0
- metadata +113 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
|
5
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
6
|
+
|
7
|
+
|
8
|
+
require 'rspec/rails'
|
9
|
+
|
10
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
11
|
+
# in spec/support/ and its subdirectories.
|
12
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
# == Mock Framework
|
16
|
+
#
|
17
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
18
|
+
#
|
19
|
+
# config.mock_with :mocha
|
20
|
+
# config.mock_with :flexmock
|
21
|
+
# config.mock_with :rr
|
22
|
+
config.mock_with :rspec
|
23
|
+
|
24
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
25
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
26
|
+
|
27
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
28
|
+
# examples within a transaction, remove the following line or assign false
|
29
|
+
# instead of true.
|
30
|
+
config.use_transactional_fixtures = true
|
31
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
Gem::Specification.new do |s|
|
3
|
+
s.platform = Gem::Platform::RUBY
|
4
|
+
s.name = 'spree_froomerce_fconnect'
|
5
|
+
s.version = '0.70.2'
|
6
|
+
s.summary = 'Create your store to Facebook and create product widgets for your Fan Page'
|
7
|
+
s.description = 'Create your store to Facebook and create product widgets for your Fan Page'
|
8
|
+
s.required_ruby_version = '>= 1.8.7'
|
9
|
+
|
10
|
+
s.author = 'Froomerce'
|
11
|
+
s.email = 'ali.naqi@coeus-solutions.de'
|
12
|
+
s.homepage = 'http://www.froomerce.com'
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.require_path = 'lib'
|
16
|
+
s.requirements << 'none'
|
17
|
+
|
18
|
+
s.add_dependency 'spree_core', '>= 0.70.1'
|
19
|
+
end
|
20
|
+
|
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spree_froomerce_fconnect
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.70.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Froomerce
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-15 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: spree_core
|
16
|
+
requirement: &79237730 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.70.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *79237730
|
25
|
+
description: Create your store to Facebook and create product widgets for your Fan
|
26
|
+
Page
|
27
|
+
email: ali.naqi@coeus-solutions.de
|
28
|
+
executables: []
|
29
|
+
extensions: []
|
30
|
+
extra_rdoc_files: []
|
31
|
+
files:
|
32
|
+
- .gitignore
|
33
|
+
- .rspec
|
34
|
+
- Gemfile
|
35
|
+
- Gemfile.lock
|
36
|
+
- LICENSE
|
37
|
+
- README.md
|
38
|
+
- Rakefile
|
39
|
+
- Versionfile
|
40
|
+
- app/assets/images/loading.gif
|
41
|
+
- app/assets/javascripts/admin/froomerces.js
|
42
|
+
- app/assets/javascripts/admin/spree_froomerce_fconnect.js
|
43
|
+
- app/assets/javascripts/froomerce_products.js
|
44
|
+
- app/assets/javascripts/store/spree_froomerce_fconnect.js
|
45
|
+
- app/assets/stylesheets/admin/froomerces.css
|
46
|
+
- app/assets/stylesheets/admin/spree_froomerce_fconnect.css
|
47
|
+
- app/assets/stylesheets/application.css
|
48
|
+
- app/assets/stylesheets/froomerce_products.css
|
49
|
+
- app/assets/stylesheets/store/spree_froomerce_fconnect.css
|
50
|
+
- app/controllers/admin/froomerces_controller.rb
|
51
|
+
- app/controllers/froomerce_products_controller.rb
|
52
|
+
- app/helpers/admin/froomerces_helper.rb
|
53
|
+
- app/helpers/froomerce_products_helper.rb
|
54
|
+
- app/models/froomerce_config.rb
|
55
|
+
- app/models/froomerce_product_status.rb
|
56
|
+
- app/models/froomerce_user.rb
|
57
|
+
- app/models/product_decorator.rb
|
58
|
+
- app/models/taxon_decorator.rb
|
59
|
+
- app/overrides/froomerce_tab.rb
|
60
|
+
- app/views/admin/froomerces/export_facebook.html.erb
|
61
|
+
- app/views/admin/froomerces/export_facebook_widgets.html.erb
|
62
|
+
- app/views/admin/froomerces/export_shop.html.erb
|
63
|
+
- app/views/admin/froomerces/index.html.erb
|
64
|
+
- app/views/admin/shared/_froomerce_sub_menu.html.erb
|
65
|
+
- app/views/froomerce_products/call_backs.html.erb
|
66
|
+
- app/views/froomerce_products/feed_url.xml.builder
|
67
|
+
- app/views/froomerce_products/index.xml.builder
|
68
|
+
- config/locales/en.yml
|
69
|
+
- config/routes.rb
|
70
|
+
- db/migrate/20120111085252_create_froomerce_users.rb
|
71
|
+
- db/migrate/20120113072837_create_froomerce_configs.rb
|
72
|
+
- db/migrate/20120203125952_create_froomerce_product_statuses.rb
|
73
|
+
- lib/api_calls.rb
|
74
|
+
- lib/call_backs.rb
|
75
|
+
- lib/generators/spree_froomerce_fconnect/install/install_generator.rb
|
76
|
+
- lib/spree_froomerce_fconnect.rb
|
77
|
+
- lib/spree_froomerce_fconnect/engine.rb
|
78
|
+
- script/rails
|
79
|
+
- spec/controllers/admin/froomerces_controller_spec.rb
|
80
|
+
- spec/controllers/froomerce_products_controller_spec.rb
|
81
|
+
- spec/helpers/admin/froomerces_helper_spec.rb
|
82
|
+
- spec/helpers/froomerce_products_helper_spec.rb
|
83
|
+
- spec/models/froomerce_config_spec.rb
|
84
|
+
- spec/models/froomerce_product_status_spec.rb
|
85
|
+
- spec/models/froomerce_user_spec.rb
|
86
|
+
- spec/spec_helper.rb
|
87
|
+
- spree_froomerce_fconnect.gemspec
|
88
|
+
homepage: http://www.froomerce.com
|
89
|
+
licenses: []
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 1.8.7
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ! '>='
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
requirements:
|
107
|
+
- none
|
108
|
+
rubyforge_project:
|
109
|
+
rubygems_version: 1.8.10
|
110
|
+
signing_key:
|
111
|
+
specification_version: 3
|
112
|
+
summary: Create your store to Facebook and create product widgets for your Fan Page
|
113
|
+
test_files: []
|