contentful-importer 0.2.1 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddff9ea8bde5b0ecf7aa0d4512732a35f1b545f3
4
- data.tar.gz: 47825b750d4af97a6b95d610a96fddaf6c629a80
3
+ metadata.gz: 906a0a28a9932dffb1be5cf8450da2efee56a045
4
+ data.tar.gz: 19d94ac0fcdfa89ffc10d6d98be8ceb8b3b46b5b
5
5
  SHA512:
6
- metadata.gz: 5a5568e9664c9f606efa96301febadcddc92b4f9800ab7a862306ae8e61d17c3e1b9b11facd05b4b3aee106412c55ca3d0dcd65446ee15831746d77453ccd5e1
7
- data.tar.gz: ff7dc9fb00543f767b3d7317fcef72ed1fe4c20a53fb4f765433b205b022469c851ab0dc3f6ce00ff5171a0decd17d889f6aeb5e31190e2bba299ce0c05311d2
6
+ metadata.gz: 29856be57ab394159b1d4fc880037fa3552185c8d2ca8be34a98d1194ba11abdd87049676d12fa27fec238c277f2516a0c5896b41c19f776fa1accd1282c3545
7
+ data.tar.gz: 5f729900f37da0bb0f9090e43e4412ae853671d02b86806557c8fe9b0efd53f39d2d3d2497b5fcc8431c29e313c8ccb9c7b2df4a627f74733131214de219ddfb
data/.gitignore CHANGED
@@ -8,6 +8,7 @@
8
8
  /test/tmp/
9
9
  /test/version_tmp/
10
10
  /tmp/
11
+ Gemfile.lock
11
12
 
12
13
  ## Specific to RubyMotion:
13
14
  .dat*
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## Master
4
+
5
+ ## 0.2.2
6
+ ### Fixed
7
+ * Fix ZeroDivisionError bug in `--threads` option [#24]
8
+
9
+ ### Removed
10
+ * Removed Gemfile.lock as it is customary for gems [#23]
11
+
3
12
  ## 0.2.1
4
13
  ### Added
5
14
  * Update contentful-management.rb dependency to 0.7.1 [#21]
@@ -67,7 +67,7 @@ module Contentful
67
67
  # CLI options can override settings of the same name
68
68
  self.class.options.map { |opt| opt.first.split('=').first.split('-').last }.each do |opt|
69
69
  arg = args.option(opt)
70
- arg = arg.to_i if opt == 'threads'
70
+ arg &&= arg.to_i if opt == 'threads'
71
71
  @settings[opt] = arg if arg
72
72
  end
73
73
 
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
- module Importer
3
- VERSION = '0.2.1'
4
- end
2
+ module Importer
3
+ VERSION = '0.2.2'
4
+ end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (Andreas Tiefenthaler)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -219,7 +219,6 @@ files:
219
219
  - ".travis.yml"
220
220
  - CHANGELOG.md
221
221
  - Gemfile
222
- - Gemfile.lock
223
222
  - LICENSE
224
223
  - README.md
225
224
  - Rakefile
@@ -356,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
356
355
  version: '0'
357
356
  requirements: []
358
357
  rubyforge_project:
359
- rubygems_version: 2.4.5
358
+ rubygems_version: 2.5.0
360
359
  signing_key:
361
360
  specification_version: 4
362
361
  summary: Allows to import structured data to contentful.com
@@ -451,3 +450,4 @@ test_files:
451
450
  - spec/support/db_rows_json.rb
452
451
  - spec/support/shared_configuration.rb
453
452
  - spec/support/vcr.rb
453
+ has_rdoc:
@@ -1,97 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- contentful-importer (0.2.0)
5
- activesupport (~> 4.1)
6
- api_cache (~> 0.3.0)
7
- claide (~> 0.8.1)
8
- contentful-management (~> 0.7.0)
9
- http (~> 0.9)
10
- i18n (~> 0.6)
11
- json-schema (~> 2.5.0)
12
- multi_json (~> 1)
13
-
14
- GEM
15
- remote: https://rubygems.org/
16
- specs:
17
- activesupport (4.2.3)
18
- i18n (~> 0.7)
19
- json (~> 1.7, >= 1.7.7)
20
- minitest (~> 5.1)
21
- thread_safe (~> 0.3, >= 0.3.4)
22
- tzinfo (~> 1.1)
23
- addressable (2.3.8)
24
- api_cache (0.3.0)
25
- claide (0.8.2)
26
- contentful-management (0.7.1)
27
- http (~> 0.8)
28
- multi_json (~> 1)
29
- crack (0.4.2)
30
- safe_yaml (~> 1.0.0)
31
- diff-lcs (1.2.5)
32
- docile (1.1.5)
33
- domain_name (0.5.24)
34
- unf (>= 0.0.5, < 1.0.0)
35
- http (0.9.0)
36
- addressable (~> 2.3)
37
- http-cookie (~> 1.0)
38
- http-form_data (~> 1.0.1)
39
- http_parser.rb (~> 0.6.0)
40
- http-cookie (1.0.2)
41
- domain_name (~> 0.5)
42
- http-form_data (1.0.1)
43
- http_parser.rb (0.6.0)
44
- i18n (0.7.0)
45
- json (1.8.3)
46
- json-schema (2.5.1)
47
- addressable (~> 2.3.7)
48
- minitest (5.7.0)
49
- multi_json (1.10.1)
50
- rake (10.4.2)
51
- rspec (3.1.0)
52
- rspec-core (~> 3.1.0)
53
- rspec-expectations (~> 3.1.0)
54
- rspec-mocks (~> 3.1.0)
55
- rspec-core (3.1.7)
56
- rspec-support (~> 3.1.0)
57
- rspec-expectations (3.1.2)
58
- diff-lcs (>= 1.2.0, < 2.0)
59
- rspec-support (~> 3.1.0)
60
- rspec-its (1.1.0)
61
- rspec-core (>= 3.0.0)
62
- rspec-expectations (>= 3.0.0)
63
- rspec-mocks (3.1.3)
64
- rspec-support (~> 3.1.0)
65
- rspec-support (3.1.2)
66
- safe_yaml (1.0.4)
67
- simplecov (0.9.1)
68
- docile (~> 1.1.0)
69
- multi_json (~> 1.0)
70
- simplecov-html (~> 0.8.0)
71
- simplecov-html (0.8.0)
72
- thread_safe (0.3.5)
73
- tzinfo (1.2.2)
74
- thread_safe (~> 0.1)
75
- unf (0.1.4)
76
- unf_ext
77
- unf_ext (0.0.7.1)
78
- vcr (2.9.3)
79
- webmock (1.21.0)
80
- addressable (>= 2.3.6)
81
- crack (>= 0.3.2)
82
-
83
- PLATFORMS
84
- ruby
85
-
86
- DEPENDENCIES
87
- bundler (~> 1.6)
88
- contentful-importer!
89
- rake
90
- rspec (~> 3)
91
- rspec-its (~> 1.1.0)
92
- simplecov
93
- vcr (~> 2.9.3)
94
- webmock (>= 1.21)
95
-
96
- BUNDLED WITH
97
- 1.10.5