go_import 3.0.16 → 3.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/bin/go-import +8 -0
- data/lib/go_import/source.rb +21 -0
- data/sources/VISMA/.go_import/readme.txt +1 -0
- data/sources/csv/.go_import/readme.txt +1 -0
- data/sources/custom/.go_import/readme.txt +1 -0
- data/sources/easy/.go_import/readme.txt +1 -0
- data/sources/excel/.go_import/readme.txt +3 -0
- data/sources/excel-basic/.gitignore +14 -0
- data/sources/excel-basic/.go_import/readme.txt +3 -0
- data/sources/excel-basic/.go_import/runner.rb +138 -0
- data/sources/excel-basic/Exempelfil.xlsx +0 -0
- data/sources/excel-basic/Gemfile +6 -0
- data/sources/excel-basic/converter.rb +168 -0
- data/sources/excel-basic/files/avtal.docx +0 -0
- data/sources/excel-basic/files/more/avtal.docx +0 -0
- data/sources/excel-basic/files/more/offert-2.pdf +0 -0
- data/sources/excel-basic/files/offert-2.docx +0 -0
- data/sources/excel-basic/files/offert.docx +0 -0
- metadata +21 -31
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
Nzk0YTFmNGY4MzJkMDA0MTBhZDAyZTlkNzFmMjUxMzM4YmM1ZjAzYQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MDIzNTY0NDAzZDk5MmFjNmZmZGNmNWRmZWRkMTgyNDYzZWM3NzI1Nw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NWUwNTJlNTZkMzgxYTg5ODk1NjQ4OGY1Y2FjNzkzYTFmNjc4Y2EzOWYzOTNl
|
10
|
+
MGVmZTQ4YTY1NDc5NjFmNDhjNjJlN2ZhZGQwMDFmNmExYjRjZTQ2NmI3MjAx
|
11
|
+
Mjk2ZDI0NWVhZjc0MmQ2NjNkNWIxMGVkZGIzMDA2NDJkNjI2NDE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MThiMjRkOTZlYTk1MGY2NTVjMDg1NzEzMzA2MTNmOWZlOWM2MjhlNGU1NDc4
|
14
|
+
OTAyZDYyNDAzNGUzOTQzYzJhOGRkMzhhNmYwNjZiZmU5YWE1N2UwMTI3Y2Vk
|
15
|
+
NzA3NmZmMDA2MjExMWZhMDY3YWQ0ZmI0ZWZmM2JkMjRmZDE4ZDk=
|
data/bin/go-import
CHANGED
@@ -24,6 +24,14 @@ class GoImportCommandLine < Thor
|
|
24
24
|
end
|
25
25
|
|
26
26
|
puts "\nCreate a new project with 'go-import new' with one of these sources."
|
27
|
+
puts "Use 'go-import about <SOURCE>' for more information about a specific source."
|
28
|
+
end
|
29
|
+
|
30
|
+
desc "about <SOURCE>", "Prints information about the specifed source"
|
31
|
+
def about(source)
|
32
|
+
sources = GoImport::Sources.new(source_path)
|
33
|
+
|
34
|
+
sources.about_source(source)
|
27
35
|
end
|
28
36
|
|
29
37
|
desc "new <PROJECT> <SOURCE>", "Creates a new migration project with a specifed name and source"
|
data/lib/go_import/source.rb
CHANGED
@@ -36,6 +36,27 @@ module GoImport
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
+
def about_source(source_name)
|
40
|
+
if !source_exists?(source_name)
|
41
|
+
puts "The source '#{source_name}' doesnt exist."
|
42
|
+
return false
|
43
|
+
end
|
44
|
+
|
45
|
+
print_about_file_for_source(source_name)
|
46
|
+
end
|
47
|
+
|
48
|
+
private
|
49
|
+
def print_about_file_for_source(name)
|
50
|
+
about_path = ::File.expand_path("#{name}/.go_import/readme.txt", @path)
|
51
|
+
|
52
|
+
if ::File.exists?(about_path)
|
53
|
+
about_contents = ::File.open(about_path, "rb").read
|
54
|
+
puts about_contents
|
55
|
+
else
|
56
|
+
puts "No about text specifed for source '#{name}'."
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
39
60
|
private
|
40
61
|
def source_exists?(name)
|
41
62
|
source = list.find { |s| s.downcase == name.downcase }
|
@@ -0,0 +1 @@
|
|
1
|
+
This source converts a VISMA database to LIME Go.
|
@@ -0,0 +1 @@
|
|
1
|
+
This source converts a csv file to LIME Go.
|
@@ -0,0 +1 @@
|
|
1
|
+
This source is a basic template that you can usse if you want to write your own custom source.
|
@@ -0,0 +1 @@
|
|
1
|
+
This source converts a LIME Easy database to LIME Go.
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
+
|
7
|
+
# Ignore bundler config
|
8
|
+
/.bundle
|
9
|
+
# Ignore built gems
|
10
|
+
/*.gem
|
11
|
+
# Ignore all logfiles and tempfiles.
|
12
|
+
/tmp
|
13
|
+
/spec/tmp
|
14
|
+
pkg
|
@@ -0,0 +1,3 @@
|
|
1
|
+
The Excel Basic source should be used when we have a customer that has some unstructured data they want to import to LIME Go.
|
2
|
+
|
3
|
+
When the ask "do you have an excel tempate we can use?" we should create a project from this source and send them the 'Exempelfil.xslx'. When we get the excelfile back, copy it to the project folder and run 'go-import run'.
|
@@ -0,0 +1,138 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
require 'go_import'
|
4
|
+
require 'roo'
|
5
|
+
require_relative("../converter")
|
6
|
+
|
7
|
+
def convert_source
|
8
|
+
puts "Trying to convert Excel source to LIME Go..."
|
9
|
+
|
10
|
+
converter = Converter.new
|
11
|
+
|
12
|
+
# First we read each sheet from the excel file into separate
|
13
|
+
# variables
|
14
|
+
|
15
|
+
if defined?(EXCEL_FILE) && !EXCEL_FILE.empty?()
|
16
|
+
if !::File.exists?(EXCEL_FILE)
|
17
|
+
puts "ERROR: Cant find excel file to import: '#{EXCEL_FILE}'."
|
18
|
+
raise
|
19
|
+
end
|
20
|
+
else
|
21
|
+
puts "ERROR: You must set EXCEL_FILE in converter.rb to point to the excel file that should be imported."
|
22
|
+
raise
|
23
|
+
end
|
24
|
+
|
25
|
+
excel_workbook = GoImport::ExcelHelper.Open(EXCEL_FILE)
|
26
|
+
|
27
|
+
if defined?(COWORKER_SHEET)
|
28
|
+
if excel_workbook.has_sheet?(COWORKER_SHEET)
|
29
|
+
coworker_rows = excel_workbook.rows_for_sheet COWORKER_SHEET
|
30
|
+
else
|
31
|
+
puts "WARNING: can't find sheet '#{COWORKER_SHEET}'"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
if defined?(ORGANIZATION_SHEET)
|
36
|
+
if excel_workbook.has_sheet?(ORGANIZATION_SHEET)
|
37
|
+
organization_rows = excel_workbook.rows_for_sheet ORGANIZATION_SHEET
|
38
|
+
else
|
39
|
+
puts "WARNING: can't find sheet '#{ORGANIZATION_SHEET}'"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
if defined?(PERSON_SHEET)
|
44
|
+
if excel_workbook.has_sheet?(PERSON_SHEET)
|
45
|
+
person_rows = excel_workbook.rows_for_sheet PERSON_SHEET
|
46
|
+
else
|
47
|
+
puts "WARNING: can't find sheet '#{PERSON_SHEET}'"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
if defined?(DEAL_SHEET)
|
52
|
+
if excel_workbook.has_sheet?(DEAL_SHEET)
|
53
|
+
deal_rows = excel_workbook.rows_for_sheet DEAL_SHEET
|
54
|
+
else
|
55
|
+
puts "WARNING: can't find sheet '#{DEAL_SHEET}'"
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
if defined?(NOTE_SHEET)
|
60
|
+
if excel_workbook.has_sheet?(NOTE_SHEET)
|
61
|
+
note_rows = excel_workbook.rows_for_sheet NOTE_SHEET
|
62
|
+
else
|
63
|
+
puts "WARNING: can't find sheet '#{NOTE_SHEET}'"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
if defined?(FILE_SHEET)
|
68
|
+
if excel_workbook.has_sheet?(FILE_SHEET)
|
69
|
+
file_rows = excel_workbook.rows_for_sheet FILE_SHEET
|
70
|
+
else
|
71
|
+
puts "WARNING: can't find sheet '#{FILE_SHEET}'"
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Then we create a rootmodel that will contain all data that
|
76
|
+
# should be exported to LIME Go.
|
77
|
+
rootmodel = GoImport::RootModel.new
|
78
|
+
|
79
|
+
# And configure the model if we have any custom fields
|
80
|
+
converter.configure rootmodel
|
81
|
+
|
82
|
+
# Now start to read data from the excel file and add to the
|
83
|
+
# rootmodel. We begin with coworkers since they are referenced
|
84
|
+
# from everywhere (orgs, deals, notes)
|
85
|
+
if defined?(coworker_rows) && !coworker_rows.nil?
|
86
|
+
puts "Trying to convert coworkers..."
|
87
|
+
coworker_rows.each do |row|
|
88
|
+
rootmodel.add_coworker(converter.to_coworker(row))
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# Then create organizations, they are only referenced by
|
93
|
+
# coworkers.
|
94
|
+
if defined?(organization_rows) && !organization_rows.nil?
|
95
|
+
puts "Trying to convert organizations..."
|
96
|
+
organization_rows.each do |row|
|
97
|
+
organization = converter.to_organization(row, rootmodel)
|
98
|
+
rootmodel.add_organization(organization)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Add people and link them to their organizations
|
103
|
+
if defined?(person_rows) && !person_rows.nil?
|
104
|
+
puts "Trying to convert persons..."
|
105
|
+
person_rows.each do |row|
|
106
|
+
# People are special since they are not added directly to
|
107
|
+
# the root model
|
108
|
+
converter.import_person_to_organization(row, rootmodel)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# Deals can connected to coworkers, organizations and people.
|
113
|
+
if defined?(deal_rows) && !deal_rows.nil?
|
114
|
+
puts "Trying to convert deals..."
|
115
|
+
deal_rows.each do |row|
|
116
|
+
rootmodel.add_deal(converter.to_deal(row, rootmodel))
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
# Notes must be owned by a coworker and the be added to
|
121
|
+
# organizations and notes and might refernce a person
|
122
|
+
if defined?(note_rows) && !note_rows.nil?
|
123
|
+
puts "Trying to convert notes..."
|
124
|
+
note_rows.each do |row|
|
125
|
+
rootmodel.add_note(converter.to_note(row, rootmodel))
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
if defined?(file_rows) && !file_rows.nil?
|
130
|
+
puts "Trying to convert files..."
|
131
|
+
file_rows.each do |row|
|
132
|
+
rootmodel.add_file(converter.to_file(row, rootmodel))
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
return rootmodel
|
137
|
+
end
|
138
|
+
|
Binary file
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
require 'go_import'
|
3
|
+
require 'roo'
|
4
|
+
|
5
|
+
# This Converter will convert an Excel file to a XML file that can be
|
6
|
+
# imported into LIME Go.
|
7
|
+
#
|
8
|
+
# You need to customize this script to suit your Excel file.
|
9
|
+
|
10
|
+
# First set the name of the Excel file to convert. It is a filename
|
11
|
+
# relative to this folder.
|
12
|
+
EXCEL_FILE = "Exempelfil.xlsx"
|
13
|
+
|
14
|
+
COWORKER_SHEET = "Medarbetare"
|
15
|
+
ORGANIZATION_SHEET = "Företag"
|
16
|
+
PERSON_SHEET = "Kontaktperson"
|
17
|
+
NOTE_SHEET = "Anteckningar"
|
18
|
+
|
19
|
+
# Then you need to modify the script below according to the TODO
|
20
|
+
# comments.
|
21
|
+
|
22
|
+
# To generate the xml-file that should be sent to LIME Go with the
|
23
|
+
# command:
|
24
|
+
# go-import run
|
25
|
+
|
26
|
+
class Converter
|
27
|
+
def configure(rootmodel)
|
28
|
+
# *** TODO: Add custom field to your rootmodel here. Custom fields
|
29
|
+
# can be added to organization, deal and person. Valid types
|
30
|
+
# are :String and :Link. If no type is specified :String is
|
31
|
+
# used as default.
|
32
|
+
|
33
|
+
# rootmodel.settings.with_organization do |organization|
|
34
|
+
# organization.set_custom_field( { :integration_id => 'source', :title => 'Källa', :type => :Link } )
|
35
|
+
# end
|
36
|
+
end
|
37
|
+
|
38
|
+
def import_person_to_organization(row, rootmodel)
|
39
|
+
person = to_person(row, rootmodel)
|
40
|
+
organization = rootmodel.find_organization_by_integration_id(row['Kundnummer/FöretagsID'])
|
41
|
+
|
42
|
+
if !organization.nil?
|
43
|
+
organization.add_employee(person)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def to_coworker(row)
|
48
|
+
coworker = GoImport::Coworker.new()
|
49
|
+
|
50
|
+
# *** TODO:
|
51
|
+
#
|
52
|
+
# Set coworker properties from the row.
|
53
|
+
|
54
|
+
coworker.parse_name_to_firstname_lastname_se row['Namn/Titel']
|
55
|
+
coworker.integration_id = row['Namn/Titel']
|
56
|
+
if GoImport::EmailHelper.is_valid?(row['Email'])
|
57
|
+
coworker.email = row['Email']
|
58
|
+
end
|
59
|
+
|
60
|
+
return coworker
|
61
|
+
end
|
62
|
+
|
63
|
+
def to_organization(row, rootmodel)
|
64
|
+
organization = GoImport::Organization.new()
|
65
|
+
|
66
|
+
# Integrationid is typically the id in the system that we are
|
67
|
+
# getting the csv from. Must be set to be able to import the
|
68
|
+
# same file more than once without creating duplicates
|
69
|
+
organization.integration_id = row['Kundnummer/FöretagsID']
|
70
|
+
|
71
|
+
# Sets the organization's relation. Relation must be a value
|
72
|
+
# from GoImport::Relation.
|
73
|
+
organization.relation = GoImport::Relation::IsACustomer
|
74
|
+
|
75
|
+
# *** TODO:
|
76
|
+
#
|
77
|
+
# Set organization properties from the row.
|
78
|
+
|
79
|
+
organization.name = row['Namn']
|
80
|
+
organization.organization_number=row['Organisationsnummer']
|
81
|
+
|
82
|
+
# Postaladdress
|
83
|
+
organization.with_postal_address do |address|
|
84
|
+
address.street = row['Postadress']
|
85
|
+
address.zip_code = row['Postnummer']
|
86
|
+
address.city = row['Postnummer']
|
87
|
+
end
|
88
|
+
|
89
|
+
# Visitingaddress
|
90
|
+
organization.with_visit_address do |addr|
|
91
|
+
addr.street = row['Besöksadress']
|
92
|
+
addr.zip_code = row['Besökspostnummer']
|
93
|
+
addr.city = row['Besöksort']
|
94
|
+
end
|
95
|
+
|
96
|
+
# Set responsible such as
|
97
|
+
# organization.responsible_coworker = rootmodel.find_coworker_by_integration_id(row['Ansvarig saljare'])
|
98
|
+
|
99
|
+
# Set categorytag
|
100
|
+
if row['Företagskategori']
|
101
|
+
category = row['Företagskategori'].split(',')
|
102
|
+
category.each do |categorytag|
|
103
|
+
organization.set_tag(categorytag.strip)
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# Custom fields should be set like this.
|
108
|
+
# organization.set_custom_value("source", "internet")
|
109
|
+
|
110
|
+
## LIME Go Relation.
|
111
|
+
# let's say that there is a option field in Easy called 'Customer relation'
|
112
|
+
# with the options '1.Customer', '2.Prospect' '3.Partner' and '4.Lost customer'
|
113
|
+
|
114
|
+
if row['Relation'] == 'Kund'
|
115
|
+
# We have made a deal with this organization.
|
116
|
+
organization.relation = GoImport::Relation::IsACustomer
|
117
|
+
elsif row['Relation'] == 'Prospekt'
|
118
|
+
# Something is happening with this organization, we might have
|
119
|
+
# booked a meeting with them or created a deal, etc.
|
120
|
+
organization.relation = GoImport::Relation::WorkingOnIt
|
121
|
+
elsif row['Relation'] == 'Tidigare kund'
|
122
|
+
organization.relation = GoImport::Relation::WasACustomer
|
123
|
+
# We had something going with this organization but we
|
124
|
+
# couldn't close the deal and we don't think they will be a
|
125
|
+
# customer to us in the foreseeable future.
|
126
|
+
# organization.relation = GoImport::Relation::BeenInTouch
|
127
|
+
else
|
128
|
+
organization.relation = GoImport::Relation::NoRelation
|
129
|
+
end
|
130
|
+
|
131
|
+
return organization
|
132
|
+
end
|
133
|
+
|
134
|
+
def to_person(row, rootmodel)
|
135
|
+
person = GoImport::Person.new()
|
136
|
+
|
137
|
+
# *** TODO:
|
138
|
+
#
|
139
|
+
# Set person properties from the row.
|
140
|
+
|
141
|
+
person.parse_name_to_firstname_lastname_se(row['Namn'])
|
142
|
+
if GoImport::EmailHelper.is_valid?(row['Email'])
|
143
|
+
person.email = row['Email']
|
144
|
+
end
|
145
|
+
|
146
|
+
person.direct_phone_number = row['Telefon']
|
147
|
+
person.mobile_phone_number = row['Mobiltelefon']
|
148
|
+
|
149
|
+
person.position = row['Titel']
|
150
|
+
|
151
|
+
return person
|
152
|
+
end
|
153
|
+
|
154
|
+
def to_note(row, rootmodel)
|
155
|
+
note = GoImport::Note.new()
|
156
|
+
|
157
|
+
# *** TODO:
|
158
|
+
#
|
159
|
+
# Set note properties from the row.
|
160
|
+
|
161
|
+
note.organization = rootmodel.find_organization_by_integration_id(row['Kundnummer/FöretagsID'])
|
162
|
+
note.created_by = rootmodel.find_coworker_by_integration_id(row['Skapad av medarbetare'])
|
163
|
+
note.text = row['Textanteckningar/Historik']
|
164
|
+
note.date = row['Skapad den']
|
165
|
+
|
166
|
+
return note
|
167
|
+
end
|
168
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: go_import
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.17
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Oskar Gewalli
|
@@ -12,12 +11,11 @@ authors:
|
|
12
11
|
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date: 2014-
|
14
|
+
date: 2014-11-14 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: iso_country_codes
|
19
18
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
19
|
requirements:
|
22
20
|
- - ! '>='
|
23
21
|
- !ruby/object:Gem::Version
|
@@ -25,7 +23,6 @@ dependencies:
|
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
27
|
- - ! '>='
|
31
28
|
- !ruby/object:Gem::Version
|
@@ -33,7 +30,6 @@ dependencies:
|
|
33
30
|
- !ruby/object:Gem::Dependency
|
34
31
|
name: bundler
|
35
32
|
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
33
|
requirements:
|
38
34
|
- - ! '>='
|
39
35
|
- !ruby/object:Gem::Version
|
@@ -41,7 +37,6 @@ dependencies:
|
|
41
37
|
type: :runtime
|
42
38
|
prerelease: false
|
43
39
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
40
|
requirements:
|
46
41
|
- - ! '>='
|
47
42
|
- !ruby/object:Gem::Version
|
@@ -49,7 +44,6 @@ dependencies:
|
|
49
44
|
- !ruby/object:Gem::Dependency
|
50
45
|
name: thor
|
51
46
|
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
47
|
requirements:
|
54
48
|
- - ! '>='
|
55
49
|
- !ruby/object:Gem::Version
|
@@ -57,7 +51,6 @@ dependencies:
|
|
57
51
|
type: :runtime
|
58
52
|
prerelease: false
|
59
53
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
54
|
requirements:
|
62
55
|
- - ! '>='
|
63
56
|
- !ruby/object:Gem::Version
|
@@ -65,7 +58,6 @@ dependencies:
|
|
65
58
|
- !ruby/object:Gem::Dependency
|
66
59
|
name: roo
|
67
60
|
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
61
|
requirements:
|
70
62
|
- - ! '>='
|
71
63
|
- !ruby/object:Gem::Version
|
@@ -73,7 +65,6 @@ dependencies:
|
|
73
65
|
type: :runtime
|
74
66
|
prerelease: false
|
75
67
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
68
|
requirements:
|
78
69
|
- - ! '>='
|
79
70
|
- !ruby/object:Gem::Version
|
@@ -81,7 +72,6 @@ dependencies:
|
|
81
72
|
- !ruby/object:Gem::Dependency
|
82
73
|
name: sixarm_ruby_email_address_validation
|
83
74
|
requirement: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
75
|
requirements:
|
86
76
|
- - ! '>='
|
87
77
|
- !ruby/object:Gem::Version
|
@@ -89,7 +79,6 @@ dependencies:
|
|
89
79
|
type: :runtime
|
90
80
|
prerelease: false
|
91
81
|
version_requirements: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
82
|
requirements:
|
94
83
|
- - ! '>='
|
95
84
|
- !ruby/object:Gem::Version
|
@@ -97,7 +86,6 @@ dependencies:
|
|
97
86
|
- !ruby/object:Gem::Dependency
|
98
87
|
name: global_phone
|
99
88
|
requirement: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
89
|
requirements:
|
102
90
|
- - ! '>='
|
103
91
|
- !ruby/object:Gem::Version
|
@@ -105,7 +93,6 @@ dependencies:
|
|
105
93
|
type: :runtime
|
106
94
|
prerelease: false
|
107
95
|
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
96
|
requirements:
|
110
97
|
- - ! '>='
|
111
98
|
- !ruby/object:Gem::Version
|
@@ -113,7 +100,6 @@ dependencies:
|
|
113
100
|
- !ruby/object:Gem::Dependency
|
114
101
|
name: nokogiri
|
115
102
|
requirement: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
103
|
requirements:
|
118
104
|
- - ! '>='
|
119
105
|
- !ruby/object:Gem::Version
|
@@ -121,7 +107,6 @@ dependencies:
|
|
121
107
|
type: :runtime
|
122
108
|
prerelease: false
|
123
109
|
version_requirements: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
110
|
requirements:
|
126
111
|
- - ! '>='
|
127
112
|
- !ruby/object:Gem::Version
|
@@ -129,7 +114,6 @@ dependencies:
|
|
129
114
|
- !ruby/object:Gem::Dependency
|
130
115
|
name: rspec
|
131
116
|
requirement: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
117
|
requirements:
|
134
118
|
- - ! '>='
|
135
119
|
- !ruby/object:Gem::Version
|
@@ -137,7 +121,6 @@ dependencies:
|
|
137
121
|
type: :development
|
138
122
|
prerelease: false
|
139
123
|
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
124
|
requirements:
|
142
125
|
- - ! '>='
|
143
126
|
- !ruby/object:Gem::Version
|
@@ -145,7 +128,6 @@ dependencies:
|
|
145
128
|
- !ruby/object:Gem::Dependency
|
146
129
|
name: rake
|
147
130
|
requirement: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
131
|
requirements:
|
150
132
|
- - ! '>='
|
151
133
|
- !ruby/object:Gem::Version
|
@@ -153,7 +135,6 @@ dependencies:
|
|
153
135
|
type: :development
|
154
136
|
prerelease: false
|
155
137
|
version_requirements: !ruby/object:Gem::Requirement
|
156
|
-
none: false
|
157
138
|
requirements:
|
158
139
|
- - ! '>='
|
159
140
|
- !ruby/object:Gem::Version
|
@@ -205,6 +186,7 @@ files:
|
|
205
186
|
- lib/go_import.rb
|
206
187
|
- bin/go-import
|
207
188
|
- sources/csv/.gitignore
|
189
|
+
- sources/csv/.go_import/readme.txt
|
208
190
|
- sources/csv/.go_import/runner.rb
|
209
191
|
- sources/csv/converter.rb
|
210
192
|
- sources/csv/data/coworkers.csv
|
@@ -213,15 +195,18 @@ files:
|
|
213
195
|
- sources/csv/data/persons.csv
|
214
196
|
- sources/csv/Gemfile
|
215
197
|
- sources/custom/.gitignore
|
198
|
+
- sources/custom/.go_import/readme.txt
|
216
199
|
- sources/custom/.go_import/runner.rb
|
217
200
|
- sources/custom/converter.rb
|
218
201
|
- sources/custom/Gemfile
|
219
202
|
- sources/easy/.gitignore
|
203
|
+
- sources/easy/.go_import/readme.txt
|
220
204
|
- sources/easy/.go_import/runner.rb
|
221
205
|
- sources/easy/converter.rb
|
222
206
|
- sources/easy/Export/readme.txt
|
223
207
|
- sources/easy/Gemfile
|
224
208
|
- sources/excel/.gitignore
|
209
|
+
- sources/excel/.go_import/readme.txt
|
225
210
|
- sources/excel/.go_import/runner.rb
|
226
211
|
- sources/excel/converter.rb
|
227
212
|
- sources/excel/files/avtal.docx
|
@@ -231,7 +216,19 @@ files:
|
|
231
216
|
- sources/excel/files/offert.docx
|
232
217
|
- sources/excel/Gemfile
|
233
218
|
- sources/excel/sample-data.xlsx
|
219
|
+
- sources/excel-basic/.gitignore
|
220
|
+
- sources/excel-basic/.go_import/readme.txt
|
221
|
+
- sources/excel-basic/.go_import/runner.rb
|
222
|
+
- sources/excel-basic/converter.rb
|
223
|
+
- sources/excel-basic/Exempelfil.xlsx
|
224
|
+
- sources/excel-basic/files/avtal.docx
|
225
|
+
- sources/excel-basic/files/more/avtal.docx
|
226
|
+
- sources/excel-basic/files/more/offert-2.pdf
|
227
|
+
- sources/excel-basic/files/offert-2.docx
|
228
|
+
- sources/excel-basic/files/offert.docx
|
229
|
+
- sources/excel-basic/Gemfile
|
234
230
|
- sources/VISMA/.gitignore
|
231
|
+
- sources/VISMA/.go_import/readme.txt
|
235
232
|
- sources/VISMA/.go_import/runner.rb
|
236
233
|
- sources/VISMA/converter.rb
|
237
234
|
- sources/VISMA/Database/KONTAKT.DBF
|
@@ -261,33 +258,26 @@ files:
|
|
261
258
|
- spec/spec_helper.rb
|
262
259
|
homepage:
|
263
260
|
licenses: []
|
261
|
+
metadata: {}
|
264
262
|
post_install_message:
|
265
263
|
rdoc_options: []
|
266
264
|
require_paths:
|
267
265
|
- lib
|
268
266
|
required_ruby_version: !ruby/object:Gem::Requirement
|
269
|
-
none: false
|
270
267
|
requirements:
|
271
268
|
- - ! '>='
|
272
269
|
- !ruby/object:Gem::Version
|
273
270
|
version: '0'
|
274
|
-
segments:
|
275
|
-
- 0
|
276
|
-
hash: 1057665117
|
277
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
278
|
-
none: false
|
279
272
|
requirements:
|
280
273
|
- - ! '>='
|
281
274
|
- !ruby/object:Gem::Version
|
282
275
|
version: '0'
|
283
|
-
segments:
|
284
|
-
- 0
|
285
|
-
hash: 1057665117
|
286
276
|
requirements: []
|
287
277
|
rubyforge_project:
|
288
|
-
rubygems_version: 1.
|
278
|
+
rubygems_version: 2.1.11
|
289
279
|
signing_key:
|
290
|
-
specification_version:
|
280
|
+
specification_version: 4
|
291
281
|
summary: Library to generate Lime Go xml import format
|
292
282
|
test_files:
|
293
283
|
- spec/address_spec.rb
|