ar_loader 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +9 -9
- data/README.markdown +221 -210
- data/Rakefile +76 -76
- data/lib/VERSION +1 -1
- data/lib/ar_loader.rb +66 -53
- data/lib/engine/file_definitions.rb +353 -353
- data/lib/engine/jruby/jexcel_file.rb +181 -181
- data/lib/engine/jruby/method_mapper_excel.rb +43 -43
- data/lib/engine/mapping_file_definitions.rb +87 -87
- data/lib/engine/method_detail.rb +140 -139
- data/lib/engine/method_mapper.rb +156 -156
- data/lib/engine/method_mapper_csv.rb +27 -27
- data/lib/engine/word.rb +70 -70
- data/lib/loaders/loader_base.rb +73 -60
- data/lib/loaders/spree/image_loader.rb +41 -46
- data/lib/loaders/spree/product_loader.rb +91 -92
- data/lib/to_b.rb +24 -24
- data/spec/database.yml +6 -0
- data/spec/db/migrate/20110803201325_create_testbed.rb +25 -0
- data/spec/excel_loader_spec.rb +98 -137
- data/spec/spec_helper.rb +18 -36
- data/spec/spree_loader_spec.rb +158 -0
- data/tasks/{seed_fu_product_template.erb → config/seed_fu_product_template.erb} +15 -15
- data/tasks/{tidy_config.txt → config/tidy_config.txt} +12 -12
- data/tasks/db_tasks.rake +64 -64
- data/tasks/excel_loader.rake +113 -100
- data/tasks/file_tasks.rake +37 -37
- data/tasks/spree/image_load.rake +107 -102
- data/tasks/spree/product_loader.rake +107 -106
- data/tasks/word_to_seedfu.rake +166 -166
- metadata +61 -47
metadata
CHANGED
@@ -1,16 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar_loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
|
-
|
13
|
+
- thomas statter
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-03
|
18
|
+
date: 2011-08-03 00:00:00 +01:00
|
14
19
|
default_executable:
|
15
20
|
dependencies: []
|
16
21
|
|
@@ -21,43 +26,46 @@ executables: []
|
|
21
26
|
extensions: []
|
22
27
|
|
23
28
|
extra_rdoc_files:
|
24
|
-
|
25
|
-
|
29
|
+
- README.markdown
|
30
|
+
- LICENSE
|
26
31
|
files:
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
32
|
+
- LICENSE
|
33
|
+
- README.markdown
|
34
|
+
- Rakefile
|
35
|
+
- lib/ar_loader.rb
|
36
|
+
- lib/engine/file_definitions.rb
|
37
|
+
- lib/engine/jruby/jexcel_file.rb
|
38
|
+
- lib/engine/jruby/method_mapper_excel.rb
|
39
|
+
- lib/engine/mapping_file_definitions.rb
|
40
|
+
- lib/engine/method_detail.rb
|
41
|
+
- lib/engine/method_mapper.rb
|
42
|
+
- lib/engine/method_mapper_csv.rb
|
43
|
+
- lib/engine/word.rb
|
44
|
+
- lib/java/poi-3.2-FINAL-20081019.jar
|
45
|
+
- lib/java/poi-3.6.jar
|
46
|
+
- lib/java/poi-contrib-3.6-20091214.jar
|
47
|
+
- lib/java/poi-examples-3.6-20091214.jar
|
48
|
+
- lib/java/poi-ooxml-3.6-20091214.jar
|
49
|
+
- lib/java/poi-ooxml-schemas-3.6-20091214.jar
|
50
|
+
- lib/java/poi-scratchpad-3.6-20091214.jar
|
51
|
+
- lib/loaders/loader_base.rb
|
52
|
+
- lib/loaders/spree/image_loader.rb
|
53
|
+
- lib/loaders/spree/product_loader.rb
|
54
|
+
- lib/to_b.rb
|
55
|
+
- lib/VERSION
|
56
|
+
- spec/database.yml
|
57
|
+
- spec/db/migrate/20110803201325_create_testbed.rb
|
58
|
+
- spec/excel_loader_spec.rb
|
59
|
+
- spec/spec_helper.rb
|
60
|
+
- spec/spree_loader_spec.rb
|
61
|
+
- tasks/config/seed_fu_product_template.erb
|
62
|
+
- tasks/config/tidy_config.txt
|
63
|
+
- tasks/db_tasks.rake
|
64
|
+
- tasks/excel_loader.rake
|
65
|
+
- tasks/file_tasks.rake
|
66
|
+
- tasks/spree/image_load.rake
|
67
|
+
- tasks/spree/product_loader.rake
|
68
|
+
- tasks/word_to_seedfu.rake
|
61
69
|
has_rdoc: true
|
62
70
|
homepage: http://www.autotelik.co.uk
|
63
71
|
licenses: []
|
@@ -66,23 +74,29 @@ post_install_message:
|
|
66
74
|
rdoc_options: []
|
67
75
|
|
68
76
|
require_paths:
|
69
|
-
|
77
|
+
- lib
|
70
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
71
79
|
none: false
|
72
80
|
requirements:
|
73
|
-
|
74
|
-
|
75
|
-
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
hash: 3
|
84
|
+
segments:
|
85
|
+
- 0
|
86
|
+
version: "0"
|
76
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
88
|
none: false
|
78
89
|
requirements:
|
79
|
-
|
80
|
-
|
81
|
-
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 3
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
version: "0"
|
82
96
|
requirements: []
|
83
97
|
|
84
98
|
rubyforge_project:
|
85
|
-
rubygems_version: 1.5.
|
99
|
+
rubygems_version: 1.5.2
|
86
100
|
signing_key:
|
87
101
|
specification_version: 3
|
88
102
|
summary: File based loader for Active Record models
|