datashift 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -2
- data/VERSION +1 -1
- data/datashift.gemspec +11 -174
- data/lib/datashift/column_packer.rb +64 -0
- data/lib/datashift/delimiters.rb +17 -1
- data/lib/datashift/exceptions.rb +7 -0
- data/lib/datashift/querying.rb +10 -4
- data/lib/loaders/csv_loader.rb +69 -32
- data/lib/loaders/excel_loader.rb +86 -53
- data/lib/loaders/loader_base.rb +32 -18
- data/lib/loaders/paperclip/attachment_loader.rb +11 -8
- data/lib/loaders/paperclip/datashift_paperclip.rb +21 -18
- data/lib/loaders/reporter.rb +48 -0
- data/spec/Gemfile.lock +129 -0
- data/spec/csv_exporter_spec.rb +1 -1
- metadata +121 -191
- data/.document +0 -5
- data/lib/java/poi-3.7/._poi-3.7-20101029.jar5645100390082102460.tmp +0 -0
- data/spec/MissingAttachmentRecords/DEMO_001_ror_bag.jpeg +0 -0
- data/spec/MissingAttachmentRecords/DEMO_002_Powerstation.jpeg +0 -0
- data/spec/MissingAttachmentRecords/DEMO_002_Powerstation.jpg +0 -0
- data/spec/MissingAttachmentRecords/DEMO_003_ror_mug.jpeg +0 -0
- data/spec/MissingAttachmentRecords/DEMO_004_ror_ringer.jpeg +0 -0
- data/spec/fixtures/BadAssociationName.xls +0 -0
- data/spec/fixtures/DemoNegativeTesting.xls +0 -0
- data/spec/fixtures/ProjectsDefaults.yml +0 -29
- data/spec/fixtures/ProjectsMultiCategories.xls +0 -0
- data/spec/fixtures/ProjectsMultiCategoriesHeaderLookup.xls +0 -0
- data/spec/fixtures/ProjectsSingleCategories.xls +0 -0
- data/spec/fixtures/SimpleProjects.xls +0 -0
- data/spec/fixtures/config/database.yml +0 -28
- data/spec/fixtures/db/datashift_test_models_db.sqlite +0 -0
- data/spec/fixtures/db/migrate/20110803201325_create_test_bed.rb +0 -96
- data/spec/fixtures/db/migrate/20121009161700_add_digitals.rb +0 -24
- data/spec/fixtures/images/DEMO_001_ror_bag.jpeg +0 -0
- data/spec/fixtures/images/DEMO_002_Powerstation.jpeg +0 -0
- data/spec/fixtures/images/DEMO_003_ror_mug.jpeg +0 -0
- data/spec/fixtures/images/DEMO_004_ror_ringer.jpeg +0 -0
- data/spec/fixtures/load_datashift.thor +0 -3
- data/spec/fixtures/models/category.rb +0 -7
- data/spec/fixtures/models/digital.rb +0 -14
- data/spec/fixtures/models/empty.rb +0 -2
- data/spec/fixtures/models/loader_release.rb +0 -10
- data/spec/fixtures/models/long_and_complex_table_linked_to_version.rb +0 -6
- data/spec/fixtures/models/milestone.rb +0 -8
- data/spec/fixtures/models/owner.rb +0 -7
- data/spec/fixtures/models/project.rb +0 -26
- data/spec/fixtures/models/version.rb +0 -7
- data/spec/fixtures/simple_export_spec.xls +0 -0
- data/spec/fixtures/simple_template_spec.xls +0 -0
- data/spec/fixtures/test_model_defs.rb +0 -9
- data/spec/rails_sandbox/.gitignore +0 -15
- data/spec/rails_sandbox/Gemfile +0 -40
- data/spec/rails_sandbox/README.rdoc +0 -261
- data/spec/rails_sandbox/Rakefile +0 -7
- data/spec/rails_sandbox/app/assets/images/rails.png +0 -0
- data/spec/rails_sandbox/app/assets/javascripts/application.js +0 -15
- data/spec/rails_sandbox/app/assets/stylesheets/application.css +0 -13
- data/spec/rails_sandbox/app/controllers/application_controller.rb +0 -3
- data/spec/rails_sandbox/app/helpers/application_helper.rb +0 -2
- data/spec/rails_sandbox/app/mailers/.gitkeep +0 -0
- data/spec/rails_sandbox/app/models/.gitkeep +0 -0
- data/spec/rails_sandbox/app/models/category.rb +0 -7
- data/spec/rails_sandbox/app/models/empty.rb +0 -2
- data/spec/rails_sandbox/app/models/loader_release.rb +0 -10
- data/spec/rails_sandbox/app/models/long_and_complex_table_linked_to_version.rb +0 -6
- data/spec/rails_sandbox/app/models/milestone.rb +0 -8
- data/spec/rails_sandbox/app/models/owner.rb +0 -5
- data/spec/rails_sandbox/app/models/project.rb +0 -26
- data/spec/rails_sandbox/app/models/test_model_defs.rb +0 -67
- data/spec/rails_sandbox/app/models/version.rb +0 -7
- data/spec/rails_sandbox/app/views/layouts/application.html.erb +0 -14
- data/spec/rails_sandbox/config.ru +0 -4
- data/spec/rails_sandbox/config/application.rb +0 -62
- data/spec/rails_sandbox/config/boot.rb +0 -6
- data/spec/rails_sandbox/config/database.yml +0 -20
- data/spec/rails_sandbox/config/environment.rb +0 -5
- data/spec/rails_sandbox/config/environments/development.rb +0 -37
- data/spec/rails_sandbox/config/environments/production.rb +0 -67
- data/spec/rails_sandbox/config/environments/test.rb +0 -37
- data/spec/rails_sandbox/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails_sandbox/config/initializers/inflections.rb +0 -15
- data/spec/rails_sandbox/config/initializers/mime_types.rb +0 -5
- data/spec/rails_sandbox/config/initializers/secret_token.rb +0 -7
- data/spec/rails_sandbox/config/initializers/session_store.rb +0 -8
- data/spec/rails_sandbox/config/initializers/wrap_parameters.rb +0 -14
- data/spec/rails_sandbox/config/locales/en.yml +0 -5
- data/spec/rails_sandbox/config/routes.rb +0 -58
- data/spec/rails_sandbox/db/migrate/20110803201325_create_test_bed.rb +0 -96
- data/spec/rails_sandbox/db/schema.rb +0 -81
- data/spec/rails_sandbox/db/seeds.rb +0 -7
- data/spec/rails_sandbox/lib/assets/.gitkeep +0 -0
- data/spec/rails_sandbox/lib/tasks/.gitkeep +0 -0
- data/spec/rails_sandbox/log/.gitkeep +0 -0
- data/spec/rails_sandbox/public/404.html +0 -26
- data/spec/rails_sandbox/public/422.html +0 -26
- data/spec/rails_sandbox/public/500.html +0 -25
- data/spec/rails_sandbox/public/favicon.ico +0 -0
- data/spec/rails_sandbox/public/index.html +0 -241
- data/spec/rails_sandbox/public/robots.txt +0 -5
- data/spec/rails_sandbox/script/rails +0 -6
- data/spec/rails_sandbox/test/fixtures/.gitkeep +0 -0
- data/spec/rails_sandbox/test/functional/.gitkeep +0 -0
- data/spec/rails_sandbox/test/integration/.gitkeep +0 -0
- data/spec/rails_sandbox/test/performance/browsing_test.rb +0 -12
- data/spec/rails_sandbox/test/test_helper.rb +0 -13
- data/spec/rails_sandbox/test/unit/.gitkeep +0 -0
- data/spec/rails_sandbox/vendor/assets/javascripts/.gitkeep +0 -0
- data/spec/rails_sandbox/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/rails_sandbox/vendor/plugins/.gitkeep +0 -0
data/spec/Gemfile.lock
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
actionmailer (3.2.8)
|
5
|
+
actionpack (= 3.2.8)
|
6
|
+
mail (~> 2.4.4)
|
7
|
+
actionpack (3.2.8)
|
8
|
+
activemodel (= 3.2.8)
|
9
|
+
activesupport (= 3.2.8)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
journey (~> 1.0.4)
|
13
|
+
rack (~> 1.4.0)
|
14
|
+
rack-cache (~> 1.2)
|
15
|
+
rack-test (~> 0.6.1)
|
16
|
+
sprockets (~> 2.1.3)
|
17
|
+
activemodel (3.2.8)
|
18
|
+
activesupport (= 3.2.8)
|
19
|
+
builder (~> 3.0.0)
|
20
|
+
activerecord (3.2.8)
|
21
|
+
activemodel (= 3.2.8)
|
22
|
+
activesupport (= 3.2.8)
|
23
|
+
arel (~> 3.0.2)
|
24
|
+
tzinfo (~> 0.3.29)
|
25
|
+
activerecord-jdbc-adapter (1.2.2)
|
26
|
+
activerecord-jdbcsqlite3-adapter (1.2.2)
|
27
|
+
activerecord-jdbc-adapter (~> 1.2.2)
|
28
|
+
jdbc-sqlite3 (~> 3.7.2)
|
29
|
+
activeresource (3.2.8)
|
30
|
+
activemodel (= 3.2.8)
|
31
|
+
activesupport (= 3.2.8)
|
32
|
+
activesupport (3.2.8)
|
33
|
+
i18n (~> 0.6)
|
34
|
+
multi_json (~> 1.0)
|
35
|
+
arel (3.0.2)
|
36
|
+
bouncy-castle-java (1.5.0146.1)
|
37
|
+
builder (3.0.3)
|
38
|
+
cocaine (0.3.1)
|
39
|
+
diff-lcs (1.1.3)
|
40
|
+
erubis (2.7.0)
|
41
|
+
hike (1.2.1)
|
42
|
+
i18n (0.6.1)
|
43
|
+
jdbc-sqlite3 (3.7.2)
|
44
|
+
journey (1.0.4)
|
45
|
+
jruby-openssl (0.7.7)
|
46
|
+
bouncy-castle-java (>= 1.5.0146.1)
|
47
|
+
json (1.7.5)
|
48
|
+
json (1.7.5-java)
|
49
|
+
mail (2.4.4)
|
50
|
+
i18n (>= 0.4.0)
|
51
|
+
mime-types (~> 1.16)
|
52
|
+
treetop (~> 1.4.8)
|
53
|
+
mime-types (1.19)
|
54
|
+
multi_json (1.3.6)
|
55
|
+
paperclip (2.7.0)
|
56
|
+
activerecord (>= 2.3.0)
|
57
|
+
activesupport (>= 2.3.2)
|
58
|
+
cocaine (>= 0.0.2)
|
59
|
+
mime-types
|
60
|
+
polyglot (0.3.3)
|
61
|
+
rack (1.4.1)
|
62
|
+
rack-cache (1.2)
|
63
|
+
rack (>= 0.4)
|
64
|
+
rack-ssl (1.3.2)
|
65
|
+
rack
|
66
|
+
rack-test (0.6.1)
|
67
|
+
rack (>= 1.0)
|
68
|
+
rails (3.2.8)
|
69
|
+
actionmailer (= 3.2.8)
|
70
|
+
actionpack (= 3.2.8)
|
71
|
+
activerecord (= 3.2.8)
|
72
|
+
activeresource (= 3.2.8)
|
73
|
+
activesupport (= 3.2.8)
|
74
|
+
bundler (~> 1.0)
|
75
|
+
railties (= 3.2.8)
|
76
|
+
railties (3.2.8)
|
77
|
+
actionpack (= 3.2.8)
|
78
|
+
activesupport (= 3.2.8)
|
79
|
+
rack-ssl (~> 1.3.2)
|
80
|
+
rake (>= 0.8.7)
|
81
|
+
rdoc (~> 3.4)
|
82
|
+
thor (>= 0.14.6, < 2.0)
|
83
|
+
rake (0.9.2.2)
|
84
|
+
rdoc (3.12)
|
85
|
+
json (~> 1.4)
|
86
|
+
rspec (2.11.0)
|
87
|
+
rspec-core (~> 2.11.0)
|
88
|
+
rspec-expectations (~> 2.11.0)
|
89
|
+
rspec-mocks (~> 2.11.0)
|
90
|
+
rspec-core (2.11.1)
|
91
|
+
rspec-expectations (2.11.3)
|
92
|
+
diff-lcs (~> 1.1.3)
|
93
|
+
rspec-mocks (2.11.3)
|
94
|
+
rspec-rails (2.11.0)
|
95
|
+
actionpack (>= 3.0)
|
96
|
+
activesupport (>= 3.0)
|
97
|
+
railties (>= 3.0)
|
98
|
+
rspec (~> 2.11.0)
|
99
|
+
ruby-ole (1.2.11.4)
|
100
|
+
spreadsheet (0.7.3)
|
101
|
+
ruby-ole (>= 1.0)
|
102
|
+
sprockets (2.1.3)
|
103
|
+
hike (~> 1.2)
|
104
|
+
rack (~> 1.0)
|
105
|
+
tilt (~> 1.1, != 1.3.0)
|
106
|
+
sqlite3 (1.3.6)
|
107
|
+
thor (0.16.0)
|
108
|
+
tilt (1.3.3)
|
109
|
+
treetop (1.4.10)
|
110
|
+
polyglot
|
111
|
+
polyglot (>= 0.3.1)
|
112
|
+
tzinfo (0.3.33)
|
113
|
+
|
114
|
+
PLATFORMS
|
115
|
+
java
|
116
|
+
ruby
|
117
|
+
|
118
|
+
DEPENDENCIES
|
119
|
+
activerecord-jdbcsqlite3-adapter
|
120
|
+
jruby-openssl
|
121
|
+
paperclip
|
122
|
+
rails (= 3.2.8)
|
123
|
+
rspec
|
124
|
+
rspec-core
|
125
|
+
rspec-expectations
|
126
|
+
rspec-mocks
|
127
|
+
rspec-rails
|
128
|
+
spreadsheet
|
129
|
+
sqlite3
|
data/spec/csv_exporter_spec.rb
CHANGED
@@ -59,7 +59,7 @@ describe 'CSV Exporter' do
|
|
59
59
|
|
60
60
|
it "should export a model and result of method calls on it to csv file" do
|
61
61
|
|
62
|
-
expect = result_file('
|
62
|
+
expect = result_file('project_with_methods_export_spec.csv')
|
63
63
|
|
64
64
|
exporter = CsvExporter.new( expect )
|
65
65
|
|
metadata
CHANGED
@@ -1,251 +1,181 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: datashift
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.12.0
|
4
5
|
prerelease:
|
5
|
-
version: 0.11.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Thomas Statter
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-01-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: spreadsheet
|
17
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements:
|
26
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
27
31
|
name: rubyzip
|
28
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
29
33
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: Comprehensive tools to import/export between Excel/CSV and ActiveRecord
|
47
|
+
databases, Rails apps, and any Ruby project.
|
38
48
|
email: rubygems@autotelik.co.uk
|
39
49
|
executables: []
|
40
|
-
|
41
50
|
extensions: []
|
42
|
-
|
43
|
-
extra_rdoc_files:
|
51
|
+
extra_rdoc_files:
|
44
52
|
- LICENSE.txt
|
45
53
|
- README.markdown
|
46
54
|
- README.rdoc
|
47
|
-
files:
|
48
|
-
- .document
|
55
|
+
files:
|
49
56
|
- LICENSE.txt
|
50
57
|
- README.markdown
|
51
58
|
- README.rdoc
|
52
59
|
- Rakefile
|
53
60
|
- VERSION
|
54
61
|
- datashift.gemspec
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
- lib/
|
61
|
-
- lib/
|
62
|
-
- lib/
|
63
|
-
- lib/applications/spreadsheet_extensions.rb
|
64
|
-
- lib/datashift.rb
|
65
|
-
- lib/datashift/delimiters.rb
|
66
|
-
- lib/datashift/exceptions.rb
|
67
|
-
- lib/datashift/file_definitions.rb
|
62
|
+
- tasks/config/seed_fu_product_template.erb
|
63
|
+
- tasks/config/tidy_config.txt
|
64
|
+
- tasks/db_tasks.rake
|
65
|
+
- tasks/file_tasks.rake
|
66
|
+
- tasks/word_to_seedfu.rake
|
67
|
+
- lib/exporters/csv_exporter.rb
|
68
|
+
- lib/exporters/exporter_base.rb
|
69
|
+
- lib/exporters/excel_exporter.rb
|
68
70
|
- lib/datashift/logging.rb
|
69
|
-
- lib/datashift/
|
70
|
-
- lib/datashift/
|
71
|
+
- lib/datashift/model_mapper.rb
|
72
|
+
- lib/datashift/exceptions.rb
|
73
|
+
- lib/datashift/column_packer.rb
|
71
74
|
- lib/datashift/method_details_manager.rb
|
72
75
|
- lib/datashift/method_dictionary.rb
|
73
76
|
- lib/datashift/method_mapper.rb
|
74
|
-
- lib/datashift/
|
77
|
+
- lib/datashift/file_definitions.rb
|
78
|
+
- lib/datashift/delimiters.rb
|
75
79
|
- lib/datashift/populator.rb
|
80
|
+
- lib/datashift/method_detail.rb
|
81
|
+
- lib/datashift/mapping_file_definitions.rb
|
76
82
|
- lib/datashift/querying.rb
|
77
|
-
- lib/exporters/csv_exporter.rb
|
78
|
-
- lib/exporters/excel_exporter.rb
|
79
|
-
- lib/exporters/exporter_base.rb
|
80
|
-
- lib/generators/csv_generator.rb
|
81
|
-
- lib/generators/excel_generator.rb
|
82
|
-
- lib/generators/generator_base.rb
|
83
83
|
- lib/guards.rb
|
84
|
-
- lib/
|
85
|
-
- lib/
|
86
|
-
- lib/
|
87
|
-
- lib/
|
88
|
-
- lib/
|
89
|
-
- lib/
|
90
|
-
- lib/
|
91
|
-
- lib/
|
92
|
-
- lib/
|
93
|
-
- lib/
|
94
|
-
- lib/java/poi-3.7/ooxml-lib/xmlbeans-2.3.0.jar
|
95
|
-
- lib/java/poi-3.7/poi-3.7-20101029.jar
|
96
|
-
- lib/java/poi-3.7/poi-examples-3.7-20101029.jar
|
97
|
-
- lib/java/poi-3.7/poi-ooxml-3.7-20101029.jar
|
98
|
-
- lib/java/poi-3.7/poi-ooxml-schemas-3.7-20101029.jar
|
99
|
-
- lib/java/poi-3.7/poi-scratchpad-3.7-20101029.jar
|
100
|
-
- lib/loaders/csv_loader.rb
|
101
|
-
- lib/loaders/excel_loader.rb
|
84
|
+
- lib/applications/excel.rb
|
85
|
+
- lib/applications/apache_poi_extensions.rb
|
86
|
+
- lib/applications/jexcel_file.rb
|
87
|
+
- lib/applications/ruby_poi_translations.rb
|
88
|
+
- lib/applications/jruby/old_pre_proxy_jexcel_file.rb
|
89
|
+
- lib/applications/jruby/word.rb
|
90
|
+
- lib/applications/jexcel_file_extensions.rb
|
91
|
+
- lib/applications/excel_base.rb
|
92
|
+
- lib/applications/spreadsheet_extensions.rb
|
93
|
+
- lib/loaders/reporter.rb
|
102
94
|
- lib/loaders/loader_base.rb
|
103
|
-
- lib/loaders/paperclip/attachment_loader.rb
|
104
95
|
- lib/loaders/paperclip/datashift_paperclip.rb
|
96
|
+
- lib/loaders/paperclip/attachment_loader.rb
|
105
97
|
- lib/loaders/paperclip/image_loading.rb
|
98
|
+
- lib/loaders/csv_loader.rb
|
99
|
+
- lib/loaders/excel_loader.rb
|
100
|
+
- lib/datashift.rb
|
106
101
|
- lib/thor/export.thor
|
102
|
+
- lib/thor/tools.thor
|
107
103
|
- lib/thor/generate.thor
|
108
104
|
- lib/thor/import.thor
|
109
105
|
- lib/thor/paperclip.thor
|
110
|
-
- lib/
|
106
|
+
- lib/generators/generator_base.rb
|
107
|
+
- lib/generators/excel_generator.rb
|
108
|
+
- lib/generators/csv_generator.rb
|
109
|
+
- lib/helpers/core_ext/to_b.rb
|
110
|
+
- lib/java/poi-3.7/poi-examples-3.7-20101029.jar
|
111
|
+
- lib/java/poi-3.7/ooxml-lib/geronimo-stax-api_1.0_spec-1.0.jar
|
112
|
+
- lib/java/poi-3.7/ooxml-lib/xmlbeans-2.3.0.jar
|
113
|
+
- lib/java/poi-3.7/ooxml-lib/dom4j-1.6.1.jar
|
114
|
+
- lib/java/poi-3.7/RELEASE_NOTES.txt
|
115
|
+
- lib/java/poi-3.7/poi-ooxml-schemas-3.7-20101029.jar
|
116
|
+
- lib/java/poi-3.7/LICENSE
|
117
|
+
- lib/java/poi-3.7/poi-scratchpad-3.7-20101029.jar
|
118
|
+
- lib/java/poi-3.7/NOTICE
|
119
|
+
- lib/java/poi-3.7/poi-ooxml-3.7-20101029.jar
|
120
|
+
- lib/java/poi-3.7/lib/junit-3.8.1.jar
|
121
|
+
- lib/java/poi-3.7/lib/commons-logging-1.1.jar
|
122
|
+
- lib/java/poi-3.7/lib/log4j-1.2.13.jar
|
123
|
+
- lib/java/poi-3.7/poi-3.7-20101029.jar
|
111
124
|
- spec/Gemfile
|
112
|
-
- spec/
|
113
|
-
- spec/
|
114
|
-
- spec/
|
115
|
-
- spec/
|
116
|
-
- spec/
|
117
|
-
- spec/
|
125
|
+
- spec/method_mapper_spec.rb
|
126
|
+
- spec/thor_spec.rb
|
127
|
+
- spec/file_definitions.rb
|
128
|
+
- spec/paperclip_loader_spec.rb
|
129
|
+
- spec/excel_generator_spec.rb
|
130
|
+
- spec/excel_spec.rb
|
131
|
+
- spec/Gemfile.lock
|
132
|
+
- spec/excel_exporter_spec.rb
|
118
133
|
- spec/csv_loader_spec.rb
|
134
|
+
- spec/method_dictionary_spec.rb
|
135
|
+
- spec/csv_exporter_spec.rb
|
119
136
|
- spec/datashift_spec.rb
|
120
|
-
- spec/excel_exporter_spec.rb
|
121
|
-
- spec/excel_generator_spec.rb
|
122
137
|
- spec/excel_loader_spec.rb
|
123
|
-
- spec/excel_spec.rb
|
124
|
-
- spec/file_definitions.rb
|
125
|
-
- spec/fixtures/BadAssociationName.xls
|
126
|
-
- spec/fixtures/DemoNegativeTesting.xls
|
127
|
-
- spec/fixtures/ProjectsDefaults.yml
|
128
|
-
- spec/fixtures/ProjectsMultiCategories.xls
|
129
|
-
- spec/fixtures/ProjectsMultiCategoriesHeaderLookup.xls
|
130
|
-
- spec/fixtures/ProjectsSingleCategories.xls
|
131
|
-
- spec/fixtures/SimpleProjects.xls
|
132
|
-
- spec/fixtures/config/database.yml
|
133
|
-
- spec/fixtures/db/datashift_test_models_db.sqlite
|
134
|
-
- spec/fixtures/db/migrate/20110803201325_create_test_bed.rb
|
135
|
-
- spec/fixtures/db/migrate/20121009161700_add_digitals.rb
|
136
|
-
- spec/fixtures/images/DEMO_001_ror_bag.jpeg
|
137
|
-
- spec/fixtures/images/DEMO_002_Powerstation.jpeg
|
138
|
-
- spec/fixtures/images/DEMO_003_ror_mug.jpeg
|
139
|
-
- spec/fixtures/images/DEMO_004_ror_ringer.jpeg
|
140
|
-
- spec/fixtures/load_datashift.thor
|
141
|
-
- spec/fixtures/models/category.rb
|
142
|
-
- spec/fixtures/models/digital.rb
|
143
|
-
- spec/fixtures/models/empty.rb
|
144
|
-
- spec/fixtures/models/loader_release.rb
|
145
|
-
- spec/fixtures/models/long_and_complex_table_linked_to_version.rb
|
146
|
-
- spec/fixtures/models/milestone.rb
|
147
|
-
- spec/fixtures/models/owner.rb
|
148
|
-
- spec/fixtures/models/project.rb
|
149
|
-
- spec/fixtures/models/version.rb
|
150
|
-
- spec/fixtures/simple_export_spec.xls
|
151
|
-
- spec/fixtures/simple_template_spec.xls
|
152
|
-
- spec/fixtures/test_model_defs.rb
|
153
138
|
- spec/loader_spec.rb
|
154
|
-
- spec/method_dictionary_spec.rb
|
155
|
-
- spec/method_mapper_spec.rb
|
156
|
-
- spec/paperclip_loader_spec.rb
|
157
|
-
- spec/rails_sandbox/.gitignore
|
158
|
-
- spec/rails_sandbox/Gemfile
|
159
|
-
- spec/rails_sandbox/README.rdoc
|
160
|
-
- spec/rails_sandbox/Rakefile
|
161
|
-
- spec/rails_sandbox/app/assets/images/rails.png
|
162
|
-
- spec/rails_sandbox/app/assets/javascripts/application.js
|
163
|
-
- spec/rails_sandbox/app/assets/stylesheets/application.css
|
164
|
-
- spec/rails_sandbox/app/controllers/application_controller.rb
|
165
|
-
- spec/rails_sandbox/app/helpers/application_helper.rb
|
166
|
-
- spec/rails_sandbox/app/mailers/.gitkeep
|
167
|
-
- spec/rails_sandbox/app/models/.gitkeep
|
168
|
-
- spec/rails_sandbox/app/models/category.rb
|
169
|
-
- spec/rails_sandbox/app/models/empty.rb
|
170
|
-
- spec/rails_sandbox/app/models/loader_release.rb
|
171
|
-
- spec/rails_sandbox/app/models/long_and_complex_table_linked_to_version.rb
|
172
|
-
- spec/rails_sandbox/app/models/milestone.rb
|
173
|
-
- spec/rails_sandbox/app/models/owner.rb
|
174
|
-
- spec/rails_sandbox/app/models/project.rb
|
175
|
-
- spec/rails_sandbox/app/models/test_model_defs.rb
|
176
|
-
- spec/rails_sandbox/app/models/version.rb
|
177
|
-
- spec/rails_sandbox/app/views/layouts/application.html.erb
|
178
|
-
- spec/rails_sandbox/config.ru
|
179
|
-
- spec/rails_sandbox/config/application.rb
|
180
|
-
- spec/rails_sandbox/config/boot.rb
|
181
|
-
- spec/rails_sandbox/config/database.yml
|
182
|
-
- spec/rails_sandbox/config/environment.rb
|
183
|
-
- spec/rails_sandbox/config/environments/development.rb
|
184
|
-
- spec/rails_sandbox/config/environments/production.rb
|
185
|
-
- spec/rails_sandbox/config/environments/test.rb
|
186
|
-
- spec/rails_sandbox/config/initializers/backtrace_silencers.rb
|
187
|
-
- spec/rails_sandbox/config/initializers/inflections.rb
|
188
|
-
- spec/rails_sandbox/config/initializers/mime_types.rb
|
189
|
-
- spec/rails_sandbox/config/initializers/secret_token.rb
|
190
|
-
- spec/rails_sandbox/config/initializers/session_store.rb
|
191
|
-
- spec/rails_sandbox/config/initializers/wrap_parameters.rb
|
192
|
-
- spec/rails_sandbox/config/locales/en.yml
|
193
|
-
- spec/rails_sandbox/config/routes.rb
|
194
|
-
- spec/rails_sandbox/db/migrate/20110803201325_create_test_bed.rb
|
195
|
-
- spec/rails_sandbox/db/schema.rb
|
196
|
-
- spec/rails_sandbox/db/seeds.rb
|
197
|
-
- spec/rails_sandbox/lib/assets/.gitkeep
|
198
|
-
- spec/rails_sandbox/lib/tasks/.gitkeep
|
199
|
-
- spec/rails_sandbox/log/.gitkeep
|
200
|
-
- spec/rails_sandbox/public/404.html
|
201
|
-
- spec/rails_sandbox/public/422.html
|
202
|
-
- spec/rails_sandbox/public/500.html
|
203
|
-
- spec/rails_sandbox/public/favicon.ico
|
204
|
-
- spec/rails_sandbox/public/index.html
|
205
|
-
- spec/rails_sandbox/public/robots.txt
|
206
|
-
- spec/rails_sandbox/script/rails
|
207
|
-
- spec/rails_sandbox/test/fixtures/.gitkeep
|
208
|
-
- spec/rails_sandbox/test/functional/.gitkeep
|
209
|
-
- spec/rails_sandbox/test/integration/.gitkeep
|
210
|
-
- spec/rails_sandbox/test/performance/browsing_test.rb
|
211
|
-
- spec/rails_sandbox/test/test_helper.rb
|
212
|
-
- spec/rails_sandbox/test/unit/.gitkeep
|
213
|
-
- spec/rails_sandbox/vendor/assets/javascripts/.gitkeep
|
214
|
-
- spec/rails_sandbox/vendor/assets/stylesheets/.gitkeep
|
215
|
-
- spec/rails_sandbox/vendor/plugins/.gitkeep
|
216
139
|
- spec/spec_helper.rb
|
217
|
-
- spec/thor_spec.rb
|
218
|
-
- tasks/config/seed_fu_product_template.erb
|
219
|
-
- tasks/config/tidy_config.txt
|
220
|
-
- tasks/db_tasks.rake
|
221
|
-
- tasks/file_tasks.rake
|
222
|
-
- tasks/word_to_seedfu.rake
|
223
140
|
homepage: http://github.com/autotelik/datashift
|
224
|
-
licenses:
|
141
|
+
licenses:
|
225
142
|
- MIT
|
226
143
|
post_install_message:
|
227
144
|
rdoc_options: []
|
228
|
-
|
229
|
-
require_paths:
|
145
|
+
require_paths:
|
230
146
|
- lib
|
231
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
232
148
|
none: false
|
233
|
-
requirements:
|
234
|
-
- -
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version:
|
237
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ! '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
154
|
none: false
|
239
|
-
requirements:
|
240
|
-
- -
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version:
|
155
|
+
requirements:
|
156
|
+
- - ! '>='
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
243
159
|
requirements: []
|
244
|
-
|
245
160
|
rubyforge_project:
|
246
161
|
rubygems_version: 1.8.24
|
247
162
|
signing_key:
|
248
163
|
specification_version: 3
|
249
164
|
summary: Shift data betwen Excel/CSV and any Ruby app
|
250
|
-
test_files:
|
251
|
-
|
165
|
+
test_files:
|
166
|
+
- spec/Gemfile
|
167
|
+
- spec/method_mapper_spec.rb
|
168
|
+
- spec/thor_spec.rb
|
169
|
+
- spec/file_definitions.rb
|
170
|
+
- spec/paperclip_loader_spec.rb
|
171
|
+
- spec/excel_generator_spec.rb
|
172
|
+
- spec/excel_spec.rb
|
173
|
+
- spec/Gemfile.lock
|
174
|
+
- spec/excel_exporter_spec.rb
|
175
|
+
- spec/csv_loader_spec.rb
|
176
|
+
- spec/method_dictionary_spec.rb
|
177
|
+
- spec/csv_exporter_spec.rb
|
178
|
+
- spec/datashift_spec.rb
|
179
|
+
- spec/excel_loader_spec.rb
|
180
|
+
- spec/loader_spec.rb
|
181
|
+
- spec/spec_helper.rb
|