spree_enhanced_option_types 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/.gitignore +9 -0
  2. data/LICENSE +23 -0
  3. data/README.markdown +126 -0
  4. data/README.md +13 -0
  5. data/Rakefile +29 -0
  6. data/app/controllers/admin/prototypes_controller_decorator.rb +21 -0
  7. data/app/controllers/admin/variants_controller_decorator.rb +8 -0
  8. data/app/controllers/orders_controller_decorator.rb +58 -0
  9. data/app/helpers/variant_selection.rb +47 -0
  10. data/app/models/option_types_prototype.rb +2 -0
  11. data/app/models/option_value_decorator.rb +9 -0
  12. data/app/models/product_decorator.rb +40 -0
  13. data/app/models/prototype.rb +6 -0
  14. data/app/models/variant_decorator.rb +41 -0
  15. data/app/views/admin/option_types/_option_value_fields.html.erb +10 -0
  16. data/app/views/admin/option_types/edit.html.erb +34 -0
  17. data/app/views/admin/products/new.html.erb +58 -0
  18. data/app/views/admin/prototypes/_form.html.erb +57 -0
  19. data/app/views/admin/prototypes/_sortable_header.rhtml +3 -0
  20. data/app/views/admin/variants/_form.html.erb +45 -0
  21. data/app/views/admin/variants/index.html.erb +62 -0
  22. data/app/views/products/_cart_form.html.erb +37 -0
  23. data/app/views/products/_eot_includes.html.erb +25 -0
  24. data/app/views/products/_radio_2d.html.erb +82 -0
  25. data/app/views/products/_radio_sets.html.erb +31 -0
  26. data/app/views/products/_selects.html.erb +26 -0
  27. data/config/locales/en.yml +14 -0
  28. data/config/locales/ru.yml +10 -0
  29. data/config/routes.rb +3 -0
  30. data/db/migrate/20100825095803_add_sku_to_option_values.rb +9 -0
  31. data/db/migrate/20101019122221_add_amount_to_option_value.rb +9 -0
  32. data/db/migrate/20101019122559_add_position_to_option_type_prototype.rb +9 -0
  33. data/db/migrate/20101019122611_set_default_for_option_value_amount.rb +9 -0
  34. data/doc/2d.jpg +0 -0
  35. data/doc/selects.jpg +0 -0
  36. data/doc/sets.jpg +0 -0
  37. data/lib/spree_enhanced_option_types.rb +50 -0
  38. data/lib/spree_enhanced_option_types_hooks.rb +3 -0
  39. data/lib/tasks/enhanced_option_types.rake +29 -0
  40. data/lib/tasks/install.rake +27 -0
  41. data/public/javascripts/enhanced-option-types.js +115 -0
  42. data/public/javascripts/jquery-ui-1.7.2.custom.min.js +46 -0
  43. data/public/javascripts/ui.core.js +519 -0
  44. data/public/javascripts/ui.draggable.js +766 -0
  45. data/public/javascripts/ui.selectable.js +257 -0
  46. data/public/javascripts/ui.sortable.js +1019 -0
  47. data/spree-enhanced-option-types.gemspec +22 -0
  48. metadata +132 -0
@@ -0,0 +1,22 @@
1
+ Gem::Specification.new do |s|
2
+ s.platform = Gem::Platform::RUBY
3
+ s.name = 'spree_enhanced_option_types'
4
+ s.version = '0.30.0'
5
+ s.summary = 'Enchances Spree functionality when handling products with numerous and complex variants.'
6
+ s.description = 'This extension enchances spree functionality when handling products with numerous and complex variants.'
7
+ s.required_ruby_version = '>= 1.8.7'
8
+
9
+ s.authors = ['Marcin Raczkowski', 'Brian Quinn', 'Roman Smirnov']
10
+ # s.email = 'david@loudthinking.com'
11
+ s.homepage = 'http://github.com/romul/spree-enhanced-option-types'
12
+ # s.rubyforge_project = 'actionmailer'
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.require_path = 'lib'
17
+ s.requirements << 'none'
18
+
19
+ s.has_rdoc = true
20
+
21
+ s.add_dependency('spree_core', '>= 0.30.2')
22
+ end
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spree_enhanced_option_types
3
+ version: !ruby/object:Gem::Version
4
+ hash: 103
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 30
9
+ - 0
10
+ version: 0.30.0
11
+ platform: ruby
12
+ authors:
13
+ - Marcin Raczkowski
14
+ - Brian Quinn
15
+ - Roman Smirnov
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2011-02-21 00:00:00 +03:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ name: spree_core
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ hash: 99
32
+ segments:
33
+ - 0
34
+ - 30
35
+ - 2
36
+ version: 0.30.2
37
+ type: :runtime
38
+ version_requirements: *id001
39
+ description: This extension enchances spree functionality when handling products with numerous and complex variants.
40
+ email:
41
+ executables: []
42
+
43
+ extensions: []
44
+
45
+ extra_rdoc_files: []
46
+
47
+ files:
48
+ - .gitignore
49
+ - LICENSE
50
+ - README.markdown
51
+ - README.md
52
+ - Rakefile
53
+ - app/controllers/admin/prototypes_controller_decorator.rb
54
+ - app/controllers/admin/variants_controller_decorator.rb
55
+ - app/controllers/orders_controller_decorator.rb
56
+ - app/helpers/variant_selection.rb
57
+ - app/models/option_types_prototype.rb
58
+ - app/models/option_value_decorator.rb
59
+ - app/models/product_decorator.rb
60
+ - app/models/prototype.rb
61
+ - app/models/variant_decorator.rb
62
+ - app/views/admin/option_types/_option_value_fields.html.erb
63
+ - app/views/admin/option_types/edit.html.erb
64
+ - app/views/admin/products/new.html.erb
65
+ - app/views/admin/prototypes/_form.html.erb
66
+ - app/views/admin/prototypes/_sortable_header.rhtml
67
+ - app/views/admin/variants/_form.html.erb
68
+ - app/views/admin/variants/index.html.erb
69
+ - app/views/products/_cart_form.html.erb
70
+ - app/views/products/_eot_includes.html.erb
71
+ - app/views/products/_radio_2d.html.erb
72
+ - app/views/products/_radio_sets.html.erb
73
+ - app/views/products/_selects.html.erb
74
+ - config/locales/en.yml
75
+ - config/locales/ru.yml
76
+ - config/routes.rb
77
+ - db/migrate/20100825095803_add_sku_to_option_values.rb
78
+ - db/migrate/20101019122221_add_amount_to_option_value.rb
79
+ - db/migrate/20101019122559_add_position_to_option_type_prototype.rb
80
+ - db/migrate/20101019122611_set_default_for_option_value_amount.rb
81
+ - doc/2d.jpg
82
+ - doc/selects.jpg
83
+ - doc/sets.jpg
84
+ - lib/spree_enhanced_option_types.rb
85
+ - lib/spree_enhanced_option_types_hooks.rb
86
+ - lib/tasks/enhanced_option_types.rake
87
+ - lib/tasks/install.rake
88
+ - public/javascripts/enhanced-option-types.js
89
+ - public/javascripts/jquery-ui-1.7.2.custom.min.js
90
+ - public/javascripts/ui.core.js
91
+ - public/javascripts/ui.draggable.js
92
+ - public/javascripts/ui.selectable.js
93
+ - public/javascripts/ui.sortable.js
94
+ - spree-enhanced-option-types.gemspec
95
+ has_rdoc: true
96
+ homepage: http://github.com/romul/spree-enhanced-option-types
97
+ licenses: []
98
+
99
+ post_install_message:
100
+ rdoc_options: []
101
+
102
+ require_paths:
103
+ - lib
104
+ required_ruby_version: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ hash: 57
110
+ segments:
111
+ - 1
112
+ - 8
113
+ - 7
114
+ version: 1.8.7
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ hash: 3
121
+ segments:
122
+ - 0
123
+ version: "0"
124
+ requirements:
125
+ - none
126
+ rubyforge_project:
127
+ rubygems_version: 1.3.7
128
+ signing_key:
129
+ specification_version: 3
130
+ summary: Enchances Spree functionality when handling products with numerous and complex variants.
131
+ test_files: []
132
+