go_import 3.0.29 → 3.0.30

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Njc2YjFkNDUzNDc3NWY1YWI1MDY1MmJmMzQ4NTY5M2YzNjRiYmY2ZQ==
4
+ Zjc5M2UwMDMwNzUxMmJkNWIwZTlhOWJlMWQ3NDFhYzEwYWE1MWE3YQ==
5
5
  data.tar.gz: !binary |-
6
- YTVlNjU2N2U5MjA5YWJhNDhjMTM0MGVkMzljYzU5YzZhYjZmMjc0ZQ==
6
+ ODNlZjljNTViZTRkMzNiMmU3NWVjOTYzOTVmMzc3MjliY2ZlYmJlYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTcxZDE0OTFhYjA2MzI4MzkyMzYxMWU2NWUzOTg1OTIwYTQxMWEzOWM0MDdh
10
- MDRkMWQyMzVmNmE1ZjFlZWFkYjMyMGE1OGYxNTQ4ZjM1NjZlNzliMWRmMGE1
11
- MzAzYzE3ODJlOTdmODFiMGQxZWIwNGE5ZGQzZWUyN2M4NTRhMjU=
9
+ ZmE1MWFhZmQ3MzJiYTg4NmVkYTAzZDFlNTYwODNkYzIwYWVkMmFlMWUxZTM5
10
+ ZmMxZTFiZDM2NGZmNTg3ZDk2Y2EwMGJjMTViNTJjZGNhNjc1ZjIyOTQzMDY3
11
+ NzA3ZTA0YTVhNTViMTgxMTAxOGUxZTI4YjNkNGU3OWEyOWQ2MTk=
12
12
  data.tar.gz: !binary |-
13
- NzBkMTEyZjMyMjA1M2Q4YzBiODZmZWY4NDc1OWJkYzYyMTAzODBjYmRhNzNj
14
- YzYwZjc2NTA0MDFhOWM0MzA2NmQwNDA1NjRiZDdkODBhYTRlNTc0Zjg5ZWJk
15
- NWMwNzQwN2JhMzkzZGI2MmU5NDFjMTNjNmU2ZTA0MjYyYzU3NDY=
13
+ MGY4YjQ3N2I2MzM3OTRiZmYzOGYzYWUwMTYxY2YyNDc2OGQxNGQ4Yzc5ZmZl
14
+ ZTBhNDc1OTlmM2YzYzdmYjZiYzk0YzE4ZGE2Yjk0NmMyNzU5MWFmYTYwMTQy
15
+ MDUwZWI3OGM2MWM0ZGY2MDQ1ZGYyODk0ZjBlZDg1YjBiN2JiZGQ=
@@ -138,8 +138,8 @@ module GoImport
138
138
 
139
139
  # Adds the specifed note object to the model.
140
140
  #
141
- # If no integration_id has been specifed go-import will use a
142
- # GUID as integration_id.
141
+ # If no integration_id has been specifed go-import generate
142
+ # one.
143
143
  #
144
144
  # @example Add a note from a new note
145
145
  # note = GoImport::Note.new
@@ -156,7 +156,7 @@ module GoImport
156
156
  end
157
157
 
158
158
  if note.integration_id.nil? || note.integration_id.length == 0
159
- note.integration_id = SecureRandom.uuid
159
+ note.integration_id = @notes.length.to_s
160
160
  end
161
161
 
162
162
  if find_note_by_integration_id(note.integration_id) != nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_import
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.29
4
+ version: 3.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petter Sandholdt
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-04-15 00:00:00.000000000 Z
15
+ date: 2015-04-16 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: iso_country_codes