topographer 0.0.3 → 0.0.4
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.
- checksums.yaml +8 -8
- data/Gemfile +1 -1
- data/README.md +2 -2
- data/lib/topographer.rb +3 -3
- data/lib/{Topographer → topographer}/exceptions.rb +0 -0
- data/lib/{Topographer → topographer}/importer.rb +0 -0
- data/lib/{Topographer → topographer}/importer/helpers.rb +0 -0
- data/lib/{Topographer → topographer}/importer/helpers/write_log_to_csv.rb +0 -0
- data/lib/{Topographer → topographer}/importer/importable.rb +0 -0
- data/lib/{Topographer → topographer}/importer/input.rb +0 -0
- data/lib/{Topographer → topographer}/importer/input/base.rb +0 -0
- data/lib/{Topographer → topographer}/importer/input/roo.rb +0 -0
- data/lib/{Topographer → topographer}/importer/input/source_data.rb +0 -0
- data/lib/{Topographer → topographer}/importer/logger.rb +0 -0
- data/lib/{Topographer → topographer}/importer/logger/base.rb +0 -0
- data/lib/{Topographer → topographer}/importer/logger/fatal_error_entry.rb +0 -0
- data/lib/{Topographer → topographer}/importer/logger/file.rb +0 -0
- data/lib/{Topographer → topographer}/importer/logger/log_entry.rb +0 -0
- data/lib/{Topographer → topographer}/importer/logger/simple.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/default_field_mapping.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/field_mapping.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/ignored_field_mapping.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/mapper_builder.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/mapping_columns.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/mapping_validator.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/result.rb +0 -0
- data/lib/{Topographer → topographer}/importer/mapper/validation_field_mapping.rb +0 -0
- data/lib/{Topographer → topographer}/importer/strategy.rb +0 -0
- data/lib/{Topographer → topographer}/importer/strategy/base.rb +0 -0
- data/lib/{Topographer → topographer}/importer/strategy/create_or_update_record.rb +0 -0
- data/lib/{Topographer → topographer}/importer/strategy/import_new_record.rb +0 -0
- data/lib/{Topographer → topographer}/importer/strategy/import_status.rb +0 -0
- data/lib/{Topographer → topographer}/importer/strategy/update_record.rb +0 -0
- data/lib/{Topographer → topographer}/version.rb +1 -1
- data/spec/{Topographer → topographer}/importer/helpers/write_log_to_csv_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/helpers_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/importable_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/importer_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/input/source_data_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/logger/base_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/logger/fatal_error_entry_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/logger/simple_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/mapper/default_field_mapping_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/mapper/field_mapping_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/mapper/mapper_builder_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/mapper/mapping_columns_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/mapper/mapping_validator_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/mapper/validation_field_mapping_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/mapper_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/strategy/base_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/strategy/create_or_update_record_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/strategy/import_new_records_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/strategy/import_status_spec.rb +0 -0
- data/spec/{Topographer → topographer}/importer/strategy/mapped_model.rb +0 -0
- data/spec/{Topographer → topographer}/importer/strategy/update_record_spec.rb +0 -0
- data/topographer.gemspec +1 -1
- metadata +75 -75
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDY0YWMzYWE4NmQzNDBhNTg1NWQ5ZDI4MWY3ZjgzNzM2NDAxODBlNQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MjIzOWFkYzM4NDJhMmJkNzhiNTIxMDU0YTVmOWFhZWIzNDFkN2U4Mg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWQ4YmNjMzFkMjYyZDkzYmJkZWFiNTQwNDIxODk4MGJhYjkyOGZkMWI2MjZl
|
|
10
|
+
OGIzYTI2N2U5N2I5NjBlNGJkMDkwMjU0ZTRlNmUwYTk3YmM4ZjIyOGIyYTA5
|
|
11
|
+
ZDc0NDgzMmFlZDUxMDdkZWNmMzhlYzdmZmJmMjA5NjMxOGNjNjQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NjdiMzM1MjhhMzA5MmI4NjNlMmNmNDkxZDQ4YWEwZmE3MDEwY2M5YTk4MjEw
|
|
14
|
+
ZjljY2RhMzA1MTMzM2Y1NDY5NzA3ZGYyZDM0MWNlZGY5MGU3MmViYjY2Yjgw
|
|
15
|
+
OWRhNDlmMmQ0Y2JjNmQ2MWQ5NTA2MmNhMDBlODhiMGU5YTIwZWI=
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -11,7 +11,7 @@ ActiveRecord or other ORM systems. This accomplished by defining an input wrapp
|
|
|
11
11
|
|
|
12
12
|
Add this line to your application's Gemfile:
|
|
13
13
|
|
|
14
|
-
gem '
|
|
14
|
+
gem 'topographer'
|
|
15
15
|
|
|
16
16
|
And then execute:
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ And then execute:
|
|
|
19
19
|
|
|
20
20
|
Or install it yourself as:
|
|
21
21
|
|
|
22
|
-
$ gem install
|
|
22
|
+
$ gem install topographer
|
|
23
23
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
data/lib/topographer.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/topographer.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: topographer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Simpson
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-02-
|
|
12
|
+
date: 2014-02-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -82,60 +82,60 @@ files:
|
|
|
82
82
|
- LICENSE.txt
|
|
83
83
|
- README.md
|
|
84
84
|
- Rakefile
|
|
85
|
-
- lib/Topographer/exceptions.rb
|
|
86
|
-
- lib/Topographer/importer.rb
|
|
87
|
-
- lib/Topographer/importer/helpers.rb
|
|
88
|
-
- lib/Topographer/importer/helpers/write_log_to_csv.rb
|
|
89
|
-
- lib/Topographer/importer/importable.rb
|
|
90
|
-
- lib/Topographer/importer/input.rb
|
|
91
|
-
- lib/Topographer/importer/input/base.rb
|
|
92
|
-
- lib/Topographer/importer/input/roo.rb
|
|
93
|
-
- lib/Topographer/importer/input/source_data.rb
|
|
94
|
-
- lib/Topographer/importer/logger.rb
|
|
95
|
-
- lib/Topographer/importer/logger/base.rb
|
|
96
|
-
- lib/Topographer/importer/logger/fatal_error_entry.rb
|
|
97
|
-
- lib/Topographer/importer/logger/file.rb
|
|
98
|
-
- lib/Topographer/importer/logger/log_entry.rb
|
|
99
|
-
- lib/Topographer/importer/logger/simple.rb
|
|
100
|
-
- lib/Topographer/importer/mapper.rb
|
|
101
|
-
- lib/Topographer/importer/mapper/default_field_mapping.rb
|
|
102
|
-
- lib/Topographer/importer/mapper/field_mapping.rb
|
|
103
|
-
- lib/Topographer/importer/mapper/ignored_field_mapping.rb
|
|
104
|
-
- lib/Topographer/importer/mapper/mapper_builder.rb
|
|
105
|
-
- lib/Topographer/importer/mapper/mapping_columns.rb
|
|
106
|
-
- lib/Topographer/importer/mapper/mapping_validator.rb
|
|
107
|
-
- lib/Topographer/importer/mapper/result.rb
|
|
108
|
-
- lib/Topographer/importer/mapper/validation_field_mapping.rb
|
|
109
|
-
- lib/Topographer/importer/strategy.rb
|
|
110
|
-
- lib/Topographer/importer/strategy/base.rb
|
|
111
|
-
- lib/Topographer/importer/strategy/create_or_update_record.rb
|
|
112
|
-
- lib/Topographer/importer/strategy/import_new_record.rb
|
|
113
|
-
- lib/Topographer/importer/strategy/import_status.rb
|
|
114
|
-
- lib/Topographer/importer/strategy/update_record.rb
|
|
115
|
-
- lib/Topographer/version.rb
|
|
116
85
|
- lib/topographer.rb
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
86
|
+
- lib/topographer/exceptions.rb
|
|
87
|
+
- lib/topographer/importer.rb
|
|
88
|
+
- lib/topographer/importer/helpers.rb
|
|
89
|
+
- lib/topographer/importer/helpers/write_log_to_csv.rb
|
|
90
|
+
- lib/topographer/importer/importable.rb
|
|
91
|
+
- lib/topographer/importer/input.rb
|
|
92
|
+
- lib/topographer/importer/input/base.rb
|
|
93
|
+
- lib/topographer/importer/input/roo.rb
|
|
94
|
+
- lib/topographer/importer/input/source_data.rb
|
|
95
|
+
- lib/topographer/importer/logger.rb
|
|
96
|
+
- lib/topographer/importer/logger/base.rb
|
|
97
|
+
- lib/topographer/importer/logger/fatal_error_entry.rb
|
|
98
|
+
- lib/topographer/importer/logger/file.rb
|
|
99
|
+
- lib/topographer/importer/logger/log_entry.rb
|
|
100
|
+
- lib/topographer/importer/logger/simple.rb
|
|
101
|
+
- lib/topographer/importer/mapper.rb
|
|
102
|
+
- lib/topographer/importer/mapper/default_field_mapping.rb
|
|
103
|
+
- lib/topographer/importer/mapper/field_mapping.rb
|
|
104
|
+
- lib/topographer/importer/mapper/ignored_field_mapping.rb
|
|
105
|
+
- lib/topographer/importer/mapper/mapper_builder.rb
|
|
106
|
+
- lib/topographer/importer/mapper/mapping_columns.rb
|
|
107
|
+
- lib/topographer/importer/mapper/mapping_validator.rb
|
|
108
|
+
- lib/topographer/importer/mapper/result.rb
|
|
109
|
+
- lib/topographer/importer/mapper/validation_field_mapping.rb
|
|
110
|
+
- lib/topographer/importer/strategy.rb
|
|
111
|
+
- lib/topographer/importer/strategy/base.rb
|
|
112
|
+
- lib/topographer/importer/strategy/create_or_update_record.rb
|
|
113
|
+
- lib/topographer/importer/strategy/import_new_record.rb
|
|
114
|
+
- lib/topographer/importer/strategy/import_status.rb
|
|
115
|
+
- lib/topographer/importer/strategy/update_record.rb
|
|
116
|
+
- lib/topographer/version.rb
|
|
138
117
|
- spec/spec_helper.rb
|
|
118
|
+
- spec/topographer/importer/helpers/write_log_to_csv_spec.rb
|
|
119
|
+
- spec/topographer/importer/helpers_spec.rb
|
|
120
|
+
- spec/topographer/importer/importable_spec.rb
|
|
121
|
+
- spec/topographer/importer/importer_spec.rb
|
|
122
|
+
- spec/topographer/importer/input/source_data_spec.rb
|
|
123
|
+
- spec/topographer/importer/logger/base_spec.rb
|
|
124
|
+
- spec/topographer/importer/logger/fatal_error_entry_spec.rb
|
|
125
|
+
- spec/topographer/importer/logger/simple_spec.rb
|
|
126
|
+
- spec/topographer/importer/mapper/default_field_mapping_spec.rb
|
|
127
|
+
- spec/topographer/importer/mapper/field_mapping_spec.rb
|
|
128
|
+
- spec/topographer/importer/mapper/mapper_builder_spec.rb
|
|
129
|
+
- spec/topographer/importer/mapper/mapping_columns_spec.rb
|
|
130
|
+
- spec/topographer/importer/mapper/mapping_validator_spec.rb
|
|
131
|
+
- spec/topographer/importer/mapper/validation_field_mapping_spec.rb
|
|
132
|
+
- spec/topographer/importer/mapper_spec.rb
|
|
133
|
+
- spec/topographer/importer/strategy/base_spec.rb
|
|
134
|
+
- spec/topographer/importer/strategy/create_or_update_record_spec.rb
|
|
135
|
+
- spec/topographer/importer/strategy/import_new_records_spec.rb
|
|
136
|
+
- spec/topographer/importer/strategy/import_status_spec.rb
|
|
137
|
+
- spec/topographer/importer/strategy/mapped_model.rb
|
|
138
|
+
- spec/topographer/importer/strategy/update_record_spec.rb
|
|
139
139
|
- topographer.gemspec
|
|
140
140
|
homepage: ''
|
|
141
141
|
licenses:
|
|
@@ -163,26 +163,26 @@ specification_version: 4
|
|
|
163
163
|
summary: Topographer allows the mapping of columnar input data to fields for active
|
|
164
164
|
record models. This facilitates importing from a variety of sources.
|
|
165
165
|
test_files:
|
|
166
|
-
- spec/Topographer/importer/helpers/write_log_to_csv_spec.rb
|
|
167
|
-
- spec/Topographer/importer/helpers_spec.rb
|
|
168
|
-
- spec/Topographer/importer/importable_spec.rb
|
|
169
|
-
- spec/Topographer/importer/importer_spec.rb
|
|
170
|
-
- spec/Topographer/importer/input/source_data_spec.rb
|
|
171
|
-
- spec/Topographer/importer/logger/base_spec.rb
|
|
172
|
-
- spec/Topographer/importer/logger/fatal_error_entry_spec.rb
|
|
173
|
-
- spec/Topographer/importer/logger/simple_spec.rb
|
|
174
|
-
- spec/Topographer/importer/mapper/default_field_mapping_spec.rb
|
|
175
|
-
- spec/Topographer/importer/mapper/field_mapping_spec.rb
|
|
176
|
-
- spec/Topographer/importer/mapper/mapper_builder_spec.rb
|
|
177
|
-
- spec/Topographer/importer/mapper/mapping_columns_spec.rb
|
|
178
|
-
- spec/Topographer/importer/mapper/mapping_validator_spec.rb
|
|
179
|
-
- spec/Topographer/importer/mapper/validation_field_mapping_spec.rb
|
|
180
|
-
- spec/Topographer/importer/mapper_spec.rb
|
|
181
|
-
- spec/Topographer/importer/strategy/base_spec.rb
|
|
182
|
-
- spec/Topographer/importer/strategy/create_or_update_record_spec.rb
|
|
183
|
-
- spec/Topographer/importer/strategy/import_new_records_spec.rb
|
|
184
|
-
- spec/Topographer/importer/strategy/import_status_spec.rb
|
|
185
|
-
- spec/Topographer/importer/strategy/mapped_model.rb
|
|
186
|
-
- spec/Topographer/importer/strategy/update_record_spec.rb
|
|
187
166
|
- spec/spec_helper.rb
|
|
167
|
+
- spec/topographer/importer/helpers/write_log_to_csv_spec.rb
|
|
168
|
+
- spec/topographer/importer/helpers_spec.rb
|
|
169
|
+
- spec/topographer/importer/importable_spec.rb
|
|
170
|
+
- spec/topographer/importer/importer_spec.rb
|
|
171
|
+
- spec/topographer/importer/input/source_data_spec.rb
|
|
172
|
+
- spec/topographer/importer/logger/base_spec.rb
|
|
173
|
+
- spec/topographer/importer/logger/fatal_error_entry_spec.rb
|
|
174
|
+
- spec/topographer/importer/logger/simple_spec.rb
|
|
175
|
+
- spec/topographer/importer/mapper/default_field_mapping_spec.rb
|
|
176
|
+
- spec/topographer/importer/mapper/field_mapping_spec.rb
|
|
177
|
+
- spec/topographer/importer/mapper/mapper_builder_spec.rb
|
|
178
|
+
- spec/topographer/importer/mapper/mapping_columns_spec.rb
|
|
179
|
+
- spec/topographer/importer/mapper/mapping_validator_spec.rb
|
|
180
|
+
- spec/topographer/importer/mapper/validation_field_mapping_spec.rb
|
|
181
|
+
- spec/topographer/importer/mapper_spec.rb
|
|
182
|
+
- spec/topographer/importer/strategy/base_spec.rb
|
|
183
|
+
- spec/topographer/importer/strategy/create_or_update_record_spec.rb
|
|
184
|
+
- spec/topographer/importer/strategy/import_new_records_spec.rb
|
|
185
|
+
- spec/topographer/importer/strategy/import_status_spec.rb
|
|
186
|
+
- spec/topographer/importer/strategy/mapped_model.rb
|
|
187
|
+
- spec/topographer/importer/strategy/update_record_spec.rb
|
|
188
188
|
has_rdoc:
|