datashift 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +14 -98
- data/VERSION +1 -1
- data/datashift.gemspec +6 -4
- data/lib/applications/jruby/jexcel_file.rb +69 -52
- data/lib/datashift/method_detail.rb +3 -2
- data/lib/datashift/method_dictionary.rb +7 -2
- data/lib/datashift/method_mapper.rb +12 -3
- data/lib/datashift/model_mapper.rb +4 -4
- data/lib/generators/excel_generator.rb +17 -6
- data/lib/loaders/excel_loader.rb +3 -2
- data/lib/loaders/loader_base.rb +62 -27
- data/lib/loaders/paperclip/image_loader.rb +75 -0
- data/lib/loaders/spree/image_loader.rb +11 -42
- data/lib/loaders/spree/product_loader.rb +94 -52
- data/lib/thor/generate_excel.thor +5 -2
- data/lib/thor/spree/bootstrap_cleanup.thor +22 -16
- data/lib/thor/spree/products_images.thor +58 -45
- data/lib/thor/spree/reports.thor +66 -0
- data/spec/db/migrate/20110803201325_create_test_bed.rb +12 -1
- data/spec/excel_generator_spec.rb +39 -1
- data/spec/excel_loader_spec.rb +1 -0
- data/spec/fixtures/datashift_Spree_db.sqlite +0 -0
- data/spec/fixtures/datashift_test_models_db.sqlite +0 -0
- data/spec/fixtures/spree/SpreeMultiVariant.csv +4 -0
- data/spec/fixtures/spree/SpreeProductsSimple.csv +1 -1
- data/spec/fixtures/spree/SpreeProductsSimple.xls +0 -0
- data/spec/fixtures/test_model_defs.rb +4 -0
- data/spec/spree_images_loader_spec.rb +11 -29
- data/spec/spree_loader_spec.rb +60 -15
- data/tasks/db_tasks.rake +45 -0
- metadata +6 -4
- data/datashift-0.6.0.gem +0 -0
- data/datashift-0.6.1.gem +0 -0
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: datashift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.8.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Thomas Statter
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-07-09 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: spreadsheet
|
@@ -40,8 +40,6 @@ files:
|
|
40
40
|
- README.rdoc
|
41
41
|
- Rakefile
|
42
42
|
- VERSION
|
43
|
-
- datashift-0.6.0.gem
|
44
|
-
- datashift-0.6.1.gem
|
45
43
|
- datashift.gemspec
|
46
44
|
- lib/applications/jruby/jexcel_file.rb
|
47
45
|
- lib/applications/jruby/word.rb
|
@@ -83,6 +81,7 @@ files:
|
|
83
81
|
- lib/loaders/csv_loader.rb
|
84
82
|
- lib/loaders/excel_loader.rb
|
85
83
|
- lib/loaders/loader_base.rb
|
84
|
+
- lib/loaders/paperclip/image_loader.rb
|
86
85
|
- lib/loaders/spreadsheet_loader.rb
|
87
86
|
- lib/loaders/spree/image_loader.rb
|
88
87
|
- lib/loaders/spree/product_loader.rb
|
@@ -91,6 +90,7 @@ files:
|
|
91
90
|
- lib/thor/import_excel.thor
|
92
91
|
- lib/thor/spree/bootstrap_cleanup.thor
|
93
92
|
- lib/thor/spree/products_images.thor
|
93
|
+
- lib/thor/spree/reports.thor
|
94
94
|
- public/spree/products/large/DEMO_001_ror_bag.jpeg
|
95
95
|
- public/spree/products/large/DEMO_002_Powerstation.jpg
|
96
96
|
- public/spree/products/large/DEMO_003_ror_mug.jpeg
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- spec/fixtures/simple_export_spec.xls
|
141
141
|
- spec/fixtures/simple_template_spec.xls
|
142
142
|
- spec/fixtures/spree/SpreeImages.xls
|
143
|
+
- spec/fixtures/spree/SpreeMultiVariant.csv
|
143
144
|
- spec/fixtures/spree/SpreeProducts.csv
|
144
145
|
- spec/fixtures/spree/SpreeProducts.xls
|
145
146
|
- spec/fixtures/spree/SpreeProductsDefaults.yml
|
@@ -165,6 +166,7 @@ files:
|
|
165
166
|
- spec/thor_spec.rb
|
166
167
|
- tasks/config/seed_fu_product_template.erb
|
167
168
|
- tasks/config/tidy_config.txt
|
169
|
+
- tasks/db_tasks.rake
|
168
170
|
- tasks/export/excel_generator.rake
|
169
171
|
- tasks/file_tasks.rake
|
170
172
|
- tasks/import/csv.rake
|
data/datashift-0.6.0.gem
DELETED
Binary file
|
data/datashift-0.6.1.gem
DELETED
Binary file
|