datashift 0.2.1 → 0.2.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.
Files changed (84) hide show
  1. data/.document +5 -5
  2. data/LICENSE.txt +26 -26
  3. data/README.markdown +326 -305
  4. data/README.rdoc +19 -19
  5. data/Rakefile +86 -93
  6. data/VERSION +1 -1
  7. data/datashift.gemspec +163 -152
  8. data/lib/applications/jruby/jexcel_file.rb +410 -408
  9. data/lib/applications/jruby/word.rb +79 -79
  10. data/lib/datashift.rb +183 -152
  11. data/lib/datashift/exceptions.rb +11 -11
  12. data/lib/datashift/file_definitions.rb +353 -353
  13. data/lib/datashift/mapping_file_definitions.rb +87 -87
  14. data/lib/datashift/method_detail.rb +293 -275
  15. data/lib/datashift/method_dictionary.rb +208 -209
  16. data/lib/datashift/method_mapper.rb +90 -90
  17. data/lib/datashift/model_mapper.rb +27 -0
  18. data/lib/exporters/csv_exporter.rb +36 -0
  19. data/lib/exporters/excel_exporter.rb +116 -0
  20. data/lib/exporters/exporter_base.rb +15 -0
  21. data/lib/generators/csv_generator.rb +36 -36
  22. data/lib/generators/excel_generator.rb +106 -122
  23. data/lib/generators/generator_base.rb +13 -13
  24. data/lib/helpers/core_ext/to_b.rb +24 -24
  25. data/lib/helpers/rake_utils.rb +42 -0
  26. data/lib/helpers/spree_helper.rb +194 -153
  27. data/lib/java/poi-3.7/LICENSE +507 -507
  28. data/lib/java/poi-3.7/NOTICE +21 -21
  29. data/lib/java/poi-3.7/RELEASE_NOTES.txt +115 -115
  30. data/lib/loaders/csv_loader.rb +98 -98
  31. data/lib/loaders/excel_loader.rb +155 -155
  32. data/lib/loaders/loader_base.rb +420 -420
  33. data/lib/loaders/spreadsheet_loader.rb +136 -136
  34. data/lib/loaders/spree/image_loader.rb +67 -63
  35. data/lib/loaders/spree/product_loader.rb +289 -248
  36. data/lib/thor/generate_excel.thor +54 -0
  37. data/sandbox/app/controllers/application_controller.rb +3 -0
  38. data/sandbox/config/application.rb +43 -0
  39. data/sandbox/config/database.yml +34 -0
  40. data/sandbox/config/environment.rb +7 -0
  41. data/sandbox/config/environments/development.rb +30 -0
  42. data/spec/csv_loader_spec.rb +30 -30
  43. data/spec/datashift_spec.rb +26 -26
  44. data/spec/db/migrate/20110803201325_create_test_bed.rb +85 -85
  45. data/spec/excel_exporter_spec.rb +78 -78
  46. data/spec/excel_generator_spec.rb +78 -78
  47. data/spec/excel_loader_spec.rb +223 -223
  48. data/spec/file_definitions.rb +141 -141
  49. data/spec/fixtures/ProjectsDefaults.yml +29 -29
  50. data/spec/fixtures/config/database.yml +27 -27
  51. data/spec/fixtures/datashift_Spree_db.sqlite +0 -0
  52. data/spec/fixtures/datashift_test_models_db.sqlite +0 -0
  53. data/spec/fixtures/negative/SpreeProdMiss1Mandatory.csv +4 -4
  54. data/spec/fixtures/negative/SpreeProdMissManyMandatory.csv +4 -4
  55. data/spec/fixtures/spree/SpreeProducts.csv +4 -4
  56. data/spec/fixtures/spree/SpreeProducts.xls +0 -0
  57. data/spec/fixtures/spree/SpreeProductsMultiColumn.csv +4 -4
  58. data/spec/fixtures/spree/SpreeProductsMultiColumn.xls +0 -0
  59. data/spec/fixtures/spree/SpreeProductsSimple.csv +4 -4
  60. data/spec/fixtures/spree/SpreeProductsWithImages.csv +4 -4
  61. data/spec/fixtures/spree/SpreeZoneExample.csv +5 -5
  62. data/spec/fixtures/test_model_defs.rb +57 -57
  63. data/spec/loader_spec.rb +120 -120
  64. data/spec/method_dictionary_spec.rb +242 -242
  65. data/spec/method_mapper_spec.rb +41 -41
  66. data/spec/spec_helper.rb +154 -116
  67. data/spec/spree_exporter_spec.rb +67 -0
  68. data/spec/spree_generator_spec.rb +77 -64
  69. data/spec/spree_loader_spec.rb +363 -324
  70. data/spec/spree_method_mapping_spec.rb +218 -214
  71. data/tasks/config/seed_fu_product_template.erb +15 -15
  72. data/tasks/config/tidy_config.txt +12 -12
  73. data/tasks/{excel_generator.rake → export/excel_generator.rake} +101 -78
  74. data/tasks/file_tasks.rake +36 -36
  75. data/tasks/import/csv.rake +50 -49
  76. data/tasks/import/excel.rake +74 -71
  77. data/tasks/spree/image_load.rake +108 -108
  78. data/tasks/spree/product_loader.rake +43 -43
  79. data/tasks/word_to_seedfu.rake +166 -166
  80. data/test/helper.rb +18 -18
  81. data/test/test_interact.rb +7 -7
  82. metadata +16 -8
  83. data/datashift-0.1.0.gem +0 -0
  84. data/tasks/db_tasks.rake +0 -66
data/README.rdoc CHANGED
@@ -1,19 +1,19 @@
1
- = DataShift
2
-
3
- Description goes here.
4
-
5
- == Contributing to DataShift
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
- * Fork the project.
10
- * Start a feature/bugfix branch.
11
- * Commit and push until you are happy with your contribution.
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2012 Thomas Statter. See LICENSE.txt for
18
- further details.
19
-
1
+ = DataShift
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to DataShift
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
+ * Fork the project.
10
+ * Start a feature/bugfix branch.
11
+ * Commit and push until you are happy with your contribution.
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2012 Thomas Statter. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile CHANGED
@@ -1,94 +1,87 @@
1
- # Copyright:: (c) Autotelik Media Ltd 2011
2
- # Author :: Tom Statter
3
- # Date :: Aug 2010
4
- #
5
- # License:: MIT - Free, OpenSource
6
- #
7
- # Details:: Gem::Specification for DataShift gem.
8
- #
9
- # Provides classes for moving data between a number of enterprise
10
- # type applications, files and databases.
11
- #
12
- # Provides support for moving data between .xls (Excel/OpenOffice)
13
- # Spreedsheets via JRuby and AR, enabling direct import/export of
14
- # ActiveRecord models with all their associations from database.
15
- #
16
- # Provides support for moving data between csv files and AR, enabling direct
17
- # import/export of AR models and their associations from database.
18
- #
19
- # Provides rake tasks specifically tailored for uploading or exporting
20
- # Spree Products, associations and Images
21
- #
22
- ## encoding: utf-8
23
-
24
- require 'rubygems'
25
- #require 'bundler'
26
- #begin
27
- # Bundler.setup(:default, :development)
28
- #rescue Bundler::BundlerError => e
29
- # $stderr.puts e.message
30
- # $stderr.puts "Run `bundle install` to install missing gems"
31
- # exit e.status_code
32
- #end
33
- require 'rake'
34
-
35
- require 'lib/datashift'
36
-
37
- require 'jeweler'
38
- Jeweler::Tasks.new do |gem|
39
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
40
- gem.name = DataShift.gem_name
41
- gem.homepage = "http://github.com/autotelik/datashift"
42
- gem.license = "MIT"
43
- gem.summary = %Q{ Shift data betwen applications and Active Record}
44
- gem.description = %Q{A suite of tools to move data between ActiveRecord models,databases,applications like Excel/Open Office, files and projects including Spree}
45
- gem.email = "rubygems@autotelik.co.uk"
46
- gem.authors = ["Thomas Statter"]
47
- # dependencies defined in Gemfile
48
- end
49
- Jeweler::RubygemsDotOrgTasks.new
50
-
51
- require 'rake/testtask'
52
- Rake::TestTask.new(:test) do |test|
53
- test.libs << 'lib' << 'test'
54
- test.pattern = 'test/**/test_*.rb'
55
- test.verbose = true
56
- end
57
-
58
- task :default => :test
59
-
60
- require 'rdoc/task'
61
- Rake::RDocTask.new do |rdoc|
62
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
63
-
64
- rdoc.rdoc_dir = 'rdoc'
65
- rdoc.title = "DataShift #{version}"
66
- rdoc.rdoc_files.include('README*')
67
- rdoc.rdoc_files.include('lib/**/*.rb')
68
- end
69
-
70
- # Add in our own Tasks
71
-
72
- desc 'Build gem and install in one step'
73
- task :build, :version do |t, args|
74
-
75
- v = (args[:version] || ENV['version'])
76
-
77
- # Bump the VERSION file in library
78
- File.open( File.join('VERSION'), 'w') do |f|
79
- f << "#{v}\n"
80
- end if v
81
-
82
- system("jruby -S gem build datashift.gemspec")
83
- #Rake::Task[:gem].invoke
84
-
85
- version = DataShift.gem_version
86
- puts "Installing version #{version}"
87
-
88
- gem = "#{DataShift.gem_name}-#{version}.gem"
89
- cmd = "jruby -S gem install --no-ri --no-rdoc #{gem}"
90
- system(cmd)
91
- end
92
-
93
- # Long parameter lists so ensure rake -T produces nice wide output
1
+ # Copyright:: (c) Autotelik Media Ltd 2011
2
+ # Author :: Tom Statter
3
+ # Date :: Aug 2010
4
+ #
5
+ # License:: MIT - Free, OpenSource
6
+ #
7
+ # Details:: Gem::Specification for DataShift gem.
8
+ #
9
+ # Provides classes for moving data between a number of enterprise
10
+ # type applications, files and databases.
11
+ #
12
+ # Provides support for moving data between .xls (Excel/OpenOffice)
13
+ # Spreedsheets via JRuby and AR, enabling direct import/export of
14
+ # ActiveRecord models with all their associations from database.
15
+ #
16
+ # Provides support for moving data between csv files and AR, enabling direct
17
+ # import/export of AR models and their associations from database.
18
+ #
19
+ # Provides rake tasks specifically tailored for uploading or exporting
20
+ # Spree Products, associations and Images
21
+ #
22
+ ## encoding: utf-8
23
+
24
+ require 'rubygems'
25
+
26
+ require 'rake'
27
+
28
+ require 'lib/datashift'
29
+
30
+ require 'jeweler'
31
+ Jeweler::Tasks.new do |gem|
32
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
33
+ gem.name = DataShift.gem_name
34
+ gem.homepage = "http://github.com/autotelik/datashift"
35
+ gem.license = "MIT"
36
+ gem.summary = %Q{ Shift data betwen applications and Active Record}
37
+ gem.description = %Q{A suite of tools to move data between ActiveRecord models,databases,applications like Excel/Open Office, files and projects including Spree}
38
+ gem.email = "rubygems@autotelik.co.uk"
39
+ gem.authors = ["Thomas Statter"]
40
+ # dependencies defined in Gemfile
41
+ end
42
+ Jeweler::RubygemsDotOrgTasks.new
43
+
44
+ require 'rake/testtask'
45
+ Rake::TestTask.new(:test) do |test|
46
+ test.libs << 'lib' << 'test'
47
+ test.pattern = 'test/**/test_*.rb'
48
+ test.verbose = true
49
+ end
50
+
51
+ task :default => :test
52
+
53
+ require 'rdoc/task'
54
+ Rake::RDocTask.new do |rdoc|
55
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
56
+
57
+ rdoc.rdoc_dir = 'rdoc'
58
+ rdoc.title = "DataShift #{version}"
59
+ rdoc.rdoc_files.include('README*')
60
+ rdoc.rdoc_files.include('lib/**/*.rb')
61
+ end
62
+
63
+ # Add in our own Tasks
64
+
65
+ desc 'Build gem and install in one step'
66
+ task :build, :version do |t, args|
67
+
68
+ v = (args[:version] || ENV['version'])
69
+
70
+ # Bump the VERSION file in library
71
+ File.open( File.join('VERSION'), 'w') do |f|
72
+ f << "#{v}\n"
73
+ end if v
74
+
75
+ system("jruby -S gem build datashift.gemspec")
76
+ #Rake::Task[:gem].invoke
77
+
78
+ version = DataShift.gem_version
79
+ puts "Installing version #{version}"
80
+
81
+ gem = "#{DataShift.gem_name}-#{version}.gem"
82
+ cmd = "jruby -S gem install --no-ri --no-rdoc #{gem}"
83
+ system(cmd)
84
+ end
85
+
86
+ # Long parameter lists so ensure rake -T produces nice wide output
94
87
  ENV['RAKE_COLUMNS'] = '180'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/datashift.gemspec CHANGED
@@ -1,152 +1,163 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "datashift"
8
- s.version = "0.2.1"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Thomas Statter"]
12
- s.date = "2012-02-29"
13
- s.description = "A suite of tools to move data between ActiveRecord models,databases,applications like Excel/Open Office, files and projects including Spree"
14
- s.email = "rubygems@autotelik.co.uk"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.markdown",
18
- "README.rdoc"
19
- ]
20
- s.files = [
21
- ".document",
22
- "LICENSE.txt",
23
- "README.markdown",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "datashift-0.1.0.gem",
28
- "datashift.gemspec",
29
- "lib/applications/jruby/jexcel_file.rb",
30
- "lib/applications/jruby/word.rb",
31
- "lib/datashift.rb",
32
- "lib/datashift/exceptions.rb",
33
- "lib/datashift/file_definitions.rb",
34
- "lib/datashift/mapping_file_definitions.rb",
35
- "lib/datashift/method_detail.rb",
36
- "lib/datashift/method_dictionary.rb",
37
- "lib/datashift/method_mapper.rb",
38
- "lib/generators/csv_generator.rb",
39
- "lib/generators/excel_generator.rb",
40
- "lib/generators/generator_base.rb",
41
- "lib/helpers/core_ext/to_b.rb",
42
- "lib/helpers/spree_helper.rb",
43
- "lib/java/poi-3.7/._poi-3.7-20101029.jar5645100390082102460.tmp",
44
- "lib/java/poi-3.7/LICENSE",
45
- "lib/java/poi-3.7/NOTICE",
46
- "lib/java/poi-3.7/RELEASE_NOTES.txt",
47
- "lib/java/poi-3.7/lib/commons-logging-1.1.jar",
48
- "lib/java/poi-3.7/lib/junit-3.8.1.jar",
49
- "lib/java/poi-3.7/lib/log4j-1.2.13.jar",
50
- "lib/java/poi-3.7/ooxml-lib/dom4j-1.6.1.jar",
51
- "lib/java/poi-3.7/ooxml-lib/geronimo-stax-api_1.0_spec-1.0.jar",
52
- "lib/java/poi-3.7/ooxml-lib/xmlbeans-2.3.0.jar",
53
- "lib/java/poi-3.7/poi-3.7-20101029.jar",
54
- "lib/java/poi-3.7/poi-examples-3.7-20101029.jar",
55
- "lib/java/poi-3.7/poi-ooxml-3.7-20101029.jar",
56
- "lib/java/poi-3.7/poi-ooxml-schemas-3.7-20101029.jar",
57
- "lib/java/poi-3.7/poi-scratchpad-3.7-20101029.jar",
58
- "lib/loaders/csv_loader.rb",
59
- "lib/loaders/excel_loader.rb",
60
- "lib/loaders/loader_base.rb",
61
- "lib/loaders/spreadsheet_loader.rb",
62
- "lib/loaders/spree/image_loader.rb",
63
- "lib/loaders/spree/product_loader.rb",
64
- "public/spree/products/large/DEMO_001_ror_bag.jpeg",
65
- "public/spree/products/large/DEMO_002_Powerstation.jpg",
66
- "public/spree/products/large/DEMO_003_ror_mug.jpeg",
67
- "public/spree/products/mini/DEMO_001_ror_bag.jpeg",
68
- "public/spree/products/mini/DEMO_002_Powerstation.jpg",
69
- "public/spree/products/mini/DEMO_003_ror_mug.jpeg",
70
- "public/spree/products/original/DEMO_001_ror_bag.jpeg",
71
- "public/spree/products/original/DEMO_002_Powerstation.jpg",
72
- "public/spree/products/original/DEMO_003_ror_mug.jpeg",
73
- "public/spree/products/product/DEMO_001_ror_bag.jpeg",
74
- "public/spree/products/product/DEMO_002_Powerstation.jpg",
75
- "public/spree/products/product/DEMO_003_ror_mug.jpeg",
76
- "public/spree/products/small/DEMO_001_ror_bag.jpeg",
77
- "public/spree/products/small/DEMO_002_Powerstation.jpg",
78
- "public/spree/products/small/DEMO_003_ror_mug.jpeg",
79
- "spec/csv_loader_spec.rb",
80
- "spec/datashift_spec.rb",
81
- "spec/db/migrate/20110803201325_create_test_bed.rb",
82
- "spec/excel_exporter_spec.rb",
83
- "spec/excel_generator_spec.rb",
84
- "spec/excel_loader_spec.rb",
85
- "spec/file_definitions.rb",
86
- "spec/fixtures/BadAssociationName.xls",
87
- "spec/fixtures/DemoNegativeTesting.xls",
88
- "spec/fixtures/ProjectsDefaults.yml",
89
- "spec/fixtures/ProjectsMultiCategories.xls",
90
- "spec/fixtures/ProjectsMultiCategoriesHeaderLookup.xls",
91
- "spec/fixtures/ProjectsSingleCategories.xls",
92
- "spec/fixtures/SimpleProjects.xls",
93
- "spec/fixtures/config/database.yml",
94
- "spec/fixtures/datashift_Spree_db.sqlite",
95
- "spec/fixtures/images/DEMO_001_ror_bag.jpeg",
96
- "spec/fixtures/images/DEMO_002_Powerstation.jpg",
97
- "spec/fixtures/images/DEMO_003_ror_mug.jpeg",
98
- "spec/fixtures/images/DEMO_004_ror_ringer.jpeg",
99
- "spec/fixtures/interact_models_db.sqlite",
100
- "spec/fixtures/negative/SpreeProdMiss1Mandatory.csv",
101
- "spec/fixtures/negative/SpreeProdMiss1Mandatory.xls",
102
- "spec/fixtures/negative/SpreeProdMissManyMandatory.csv",
103
- "spec/fixtures/negative/SpreeProdMissManyMandatory.xls",
104
- "spec/fixtures/simple_export_spec.xls",
105
- "spec/fixtures/simple_template_spec.xls",
106
- "spec/fixtures/spree/SpreeProducts.csv",
107
- "spec/fixtures/spree/SpreeProducts.xls",
108
- "spec/fixtures/spree/SpreeProductsMultiColumn.csv",
109
- "spec/fixtures/spree/SpreeProductsMultiColumn.xls",
110
- "spec/fixtures/spree/SpreeProductsSimple.csv",
111
- "spec/fixtures/spree/SpreeProductsSimple.xls",
112
- "spec/fixtures/spree/SpreeProductsWithImages.csv",
113
- "spec/fixtures/spree/SpreeProductsWithImages.xls",
114
- "spec/fixtures/spree/SpreeZoneExample.csv",
115
- "spec/fixtures/spree/SpreeZoneExample.xls",
116
- "spec/fixtures/test_model_defs.rb",
117
- "spec/loader_spec.rb",
118
- "spec/method_dictionary_spec.rb",
119
- "spec/method_mapper_spec.rb",
120
- "spec/spec_helper.rb",
121
- "spec/spree_generator_spec.rb",
122
- "spec/spree_loader_spec.rb",
123
- "spec/spree_method_mapping_spec.rb",
124
- "tasks/config/seed_fu_product_template.erb",
125
- "tasks/config/tidy_config.txt",
126
- "tasks/db_tasks.rake",
127
- "tasks/excel_generator.rake",
128
- "tasks/file_tasks.rake",
129
- "tasks/import/csv.rake",
130
- "tasks/import/excel.rake",
131
- "tasks/spree/image_load.rake",
132
- "tasks/spree/product_loader.rake",
133
- "tasks/word_to_seedfu.rake",
134
- "test/helper.rb",
135
- "test/test_interact.rb"
136
- ]
137
- s.homepage = "http://github.com/autotelik/datashift"
138
- s.licenses = ["MIT"]
139
- s.require_paths = ["lib"]
140
- s.rubygems_version = "1.8.15"
141
- s.summary = "Shift data betwen applications and Active Record"
142
-
143
- if s.respond_to? :specification_version then
144
- s.specification_version = 3
145
-
146
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
147
- else
148
- end
149
- else
150
- end
151
- end
152
-
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "datashift"
8
+ s.version = "0.2.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Thomas Statter"]
12
+ s.date = "2012-03-05"
13
+ s.description = "A suite of tools to move data between ActiveRecord models,databases,applications like Excel/Open Office, files and projects including Spree"
14
+ s.email = "rubygems@autotelik.co.uk"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.markdown",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ "LICENSE.txt",
23
+ "README.markdown",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "datashift.gemspec",
28
+ "lib/applications/jruby/jexcel_file.rb",
29
+ "lib/applications/jruby/word.rb",
30
+ "lib/datashift.rb",
31
+ "lib/datashift/exceptions.rb",
32
+ "lib/datashift/file_definitions.rb",
33
+ "lib/datashift/mapping_file_definitions.rb",
34
+ "lib/datashift/method_detail.rb",
35
+ "lib/datashift/method_dictionary.rb",
36
+ "lib/datashift/method_mapper.rb",
37
+ "lib/datashift/model_mapper.rb",
38
+ "lib/exporters/csv_exporter.rb",
39
+ "lib/exporters/excel_exporter.rb",
40
+ "lib/exporters/exporter_base.rb",
41
+ "lib/generators/csv_generator.rb",
42
+ "lib/generators/excel_generator.rb",
43
+ "lib/generators/generator_base.rb",
44
+ "lib/helpers/core_ext/to_b.rb",
45
+ "lib/helpers/rake_utils.rb",
46
+ "lib/helpers/spree_helper.rb",
47
+ "lib/java/poi-3.7/._poi-3.7-20101029.jar5645100390082102460.tmp",
48
+ "lib/java/poi-3.7/LICENSE",
49
+ "lib/java/poi-3.7/NOTICE",
50
+ "lib/java/poi-3.7/RELEASE_NOTES.txt",
51
+ "lib/java/poi-3.7/lib/commons-logging-1.1.jar",
52
+ "lib/java/poi-3.7/lib/junit-3.8.1.jar",
53
+ "lib/java/poi-3.7/lib/log4j-1.2.13.jar",
54
+ "lib/java/poi-3.7/ooxml-lib/dom4j-1.6.1.jar",
55
+ "lib/java/poi-3.7/ooxml-lib/geronimo-stax-api_1.0_spec-1.0.jar",
56
+ "lib/java/poi-3.7/ooxml-lib/xmlbeans-2.3.0.jar",
57
+ "lib/java/poi-3.7/poi-3.7-20101029.jar",
58
+ "lib/java/poi-3.7/poi-examples-3.7-20101029.jar",
59
+ "lib/java/poi-3.7/poi-ooxml-3.7-20101029.jar",
60
+ "lib/java/poi-3.7/poi-ooxml-schemas-3.7-20101029.jar",
61
+ "lib/java/poi-3.7/poi-scratchpad-3.7-20101029.jar",
62
+ "lib/loaders/csv_loader.rb",
63
+ "lib/loaders/excel_loader.rb",
64
+ "lib/loaders/loader_base.rb",
65
+ "lib/loaders/spreadsheet_loader.rb",
66
+ "lib/loaders/spree/image_loader.rb",
67
+ "lib/loaders/spree/product_loader.rb",
68
+ "lib/thor/generate_excel.thor",
69
+ "public/spree/products/large/DEMO_001_ror_bag.jpeg",
70
+ "public/spree/products/large/DEMO_002_Powerstation.jpg",
71
+ "public/spree/products/large/DEMO_003_ror_mug.jpeg",
72
+ "public/spree/products/mini/DEMO_001_ror_bag.jpeg",
73
+ "public/spree/products/mini/DEMO_002_Powerstation.jpg",
74
+ "public/spree/products/mini/DEMO_003_ror_mug.jpeg",
75
+ "public/spree/products/original/DEMO_001_ror_bag.jpeg",
76
+ "public/spree/products/original/DEMO_002_Powerstation.jpg",
77
+ "public/spree/products/original/DEMO_003_ror_mug.jpeg",
78
+ "public/spree/products/product/DEMO_001_ror_bag.jpeg",
79
+ "public/spree/products/product/DEMO_002_Powerstation.jpg",
80
+ "public/spree/products/product/DEMO_003_ror_mug.jpeg",
81
+ "public/spree/products/small/DEMO_001_ror_bag.jpeg",
82
+ "public/spree/products/small/DEMO_002_Powerstation.jpg",
83
+ "public/spree/products/small/DEMO_003_ror_mug.jpeg",
84
+ "sandbox/app/controllers/application_controller.rb",
85
+ "sandbox/config/application.rb",
86
+ "sandbox/config/database.yml",
87
+ "sandbox/config/environment.rb",
88
+ "sandbox/config/environments/development.rb",
89
+ "spec/csv_loader_spec.rb",
90
+ "spec/datashift_spec.rb",
91
+ "spec/db/migrate/20110803201325_create_test_bed.rb",
92
+ "spec/excel_exporter_spec.rb",
93
+ "spec/excel_generator_spec.rb",
94
+ "spec/excel_loader_spec.rb",
95
+ "spec/file_definitions.rb",
96
+ "spec/fixtures/BadAssociationName.xls",
97
+ "spec/fixtures/DemoNegativeTesting.xls",
98
+ "spec/fixtures/ProjectsDefaults.yml",
99
+ "spec/fixtures/ProjectsMultiCategories.xls",
100
+ "spec/fixtures/ProjectsMultiCategoriesHeaderLookup.xls",
101
+ "spec/fixtures/ProjectsSingleCategories.xls",
102
+ "spec/fixtures/SimpleProjects.xls",
103
+ "spec/fixtures/config/database.yml",
104
+ "spec/fixtures/datashift_Spree_db.sqlite",
105
+ "spec/fixtures/datashift_test_models_db.sqlite",
106
+ "spec/fixtures/images/DEMO_001_ror_bag.jpeg",
107
+ "spec/fixtures/images/DEMO_002_Powerstation.jpg",
108
+ "spec/fixtures/images/DEMO_003_ror_mug.jpeg",
109
+ "spec/fixtures/images/DEMO_004_ror_ringer.jpeg",
110
+ "spec/fixtures/interact_models_db.sqlite",
111
+ "spec/fixtures/negative/SpreeProdMiss1Mandatory.csv",
112
+ "spec/fixtures/negative/SpreeProdMiss1Mandatory.xls",
113
+ "spec/fixtures/negative/SpreeProdMissManyMandatory.csv",
114
+ "spec/fixtures/negative/SpreeProdMissManyMandatory.xls",
115
+ "spec/fixtures/simple_export_spec.xls",
116
+ "spec/fixtures/simple_template_spec.xls",
117
+ "spec/fixtures/spree/SpreeProducts.csv",
118
+ "spec/fixtures/spree/SpreeProducts.xls",
119
+ "spec/fixtures/spree/SpreeProductsMultiColumn.csv",
120
+ "spec/fixtures/spree/SpreeProductsMultiColumn.xls",
121
+ "spec/fixtures/spree/SpreeProductsSimple.csv",
122
+ "spec/fixtures/spree/SpreeProductsSimple.xls",
123
+ "spec/fixtures/spree/SpreeProductsWithImages.csv",
124
+ "spec/fixtures/spree/SpreeProductsWithImages.xls",
125
+ "spec/fixtures/spree/SpreeZoneExample.csv",
126
+ "spec/fixtures/spree/SpreeZoneExample.xls",
127
+ "spec/fixtures/test_model_defs.rb",
128
+ "spec/loader_spec.rb",
129
+ "spec/method_dictionary_spec.rb",
130
+ "spec/method_mapper_spec.rb",
131
+ "spec/spec_helper.rb",
132
+ "spec/spree_exporter_spec.rb",
133
+ "spec/spree_generator_spec.rb",
134
+ "spec/spree_loader_spec.rb",
135
+ "spec/spree_method_mapping_spec.rb",
136
+ "tasks/config/seed_fu_product_template.erb",
137
+ "tasks/config/tidy_config.txt",
138
+ "tasks/export/excel_generator.rake",
139
+ "tasks/file_tasks.rake",
140
+ "tasks/import/csv.rake",
141
+ "tasks/import/excel.rake",
142
+ "tasks/spree/image_load.rake",
143
+ "tasks/spree/product_loader.rake",
144
+ "tasks/word_to_seedfu.rake",
145
+ "test/helper.rb",
146
+ "test/test_interact.rb"
147
+ ]
148
+ s.homepage = "http://github.com/autotelik/datashift"
149
+ s.licenses = ["MIT"]
150
+ s.require_paths = ["lib"]
151
+ s.rubygems_version = "1.8.15"
152
+ s.summary = "Shift data betwen applications and Active Record"
153
+
154
+ if s.respond_to? :specification_version then
155
+ s.specification_version = 3
156
+
157
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
158
+ else
159
+ end
160
+ else
161
+ end
162
+ end
163
+