seiso-import_master 0.0.1 → 0.0.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.
- checksums.yaml +8 -8
- data/bin/seiso-import-master +4 -2
- data/lib/seiso/import_master.rb +1 -1
- data/seiso-import_master.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZTBlZmNiNTIyZjhjOGMwMDk1YmZjNTFiN2E5NGRiNGQ1MjdkYmVkOQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MzkxZmNjZDc1ZTgzZmM2YmRiYzY0M2JlOGZlNTU0ZGIzMzgzMTQzOA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Yzc1ZjU1OTk1NGE4OTMxYjUyYzkzNzFlNWYzYjc5YWIwYzU1YzAzMzNhZGVj
|
|
10
|
+
OTAwOGZiMTAyNmNmOGNhMmZhNjc4ZDMzNDkwNmJhYjBjMmYwODE5YjUxMjli
|
|
11
|
+
NTVmOGVjZmM0OGNkNjU2ZTg2MGE5MjVmNmY0MDNjMTA2ZmZjZGQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZGE0N2I1ZmJhYTdhMWIzNDdhYzIzNzYxOWQ1N2M0OWQxN2ZmNzBkMDJmNDBl
|
|
14
|
+
Mjk2MTE4NzllMGU3N2JmZGJmYTNmYjYyNzEzZGI5MzE3ODFkYjk1NWE3MDdi
|
|
15
|
+
MjgwOWJiMzliNWM0MzNjM2MzZGM1MjU3NjE0Yjg5NjZiODZjZTY=
|
data/bin/seiso-import-master
CHANGED
|
@@ -25,9 +25,11 @@ end
|
|
|
25
25
|
|
|
26
26
|
option_parser.parse!
|
|
27
27
|
files = ARGV
|
|
28
|
-
|
|
29
28
|
abort "Error: You must supply a master file.\n\n#{option_parser.help}" if files.empty?
|
|
30
29
|
|
|
30
|
+
format = options[:format] || 'json'
|
|
31
|
+
puts "Using #{format} format"
|
|
32
|
+
|
|
31
33
|
settings = YAML.load_file "#{Dir.home}/.seiso-importers/seiso.yml"
|
|
32
34
|
importer = Seiso::ImportMaster.new settings
|
|
33
|
-
importer.import_files
|
|
35
|
+
importer.import_files(files, format)
|
data/lib/seiso/import_master.rb
CHANGED
data/seiso-import_master.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "seiso-import_master"
|
|
7
|
-
spec.version = "0.0.
|
|
7
|
+
spec.version = "0.0.2"
|
|
8
8
|
spec.authors = ["Willie Wheeler"]
|
|
9
9
|
spec.email = ["wwheeler@expedia.com"]
|
|
10
10
|
spec.summary = "Imports Seiso data master files into Seiso."
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: seiso-import_master
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Willie Wheeler
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|