database-exporter 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06cd3d41d41504c75c8b22d74cdaee9d77ca79d5
4
- data.tar.gz: 5655c082e08d86f9d5e438593102f69a51defed9
3
+ metadata.gz: 36cc61c827f684f64069dad34b3cd4b061943042
4
+ data.tar.gz: 0f209e92018dfebd3d33e10efd2fe408b5bb187a
5
5
  SHA512:
6
- metadata.gz: a9180c514f3224204ea8da91a38dce8ea9c991ccb72d8f9566cae25f8ce4e86c0f86b20046488c14d4938d31ca0c13d53f5144be45e2568eaf22f7a8a1a629fe
7
- data.tar.gz: 9e85b77bc5982b7866c82642d6a0744aa5a1c42f31f5872857acd651c75862857dc105c6abdc164b2ab4559efe878a301e706ab80f6753a5d6e4e44bc6134f17
6
+ metadata.gz: 4c529cb899296b6c6ebebcf252d1fdda83fda08cd0812fdbdb0725df304a822d367d4c964c7e40e16f904cc87f1ed3f998f9dee537630828bf61cd9174098731
7
+ data.tar.gz: 3d0a37e068f023310f4edcd25e3cb8d17be097396600336772104f93dcffee52a1d85164b368f3ba9d0d69e99eee5a52316ad0205d4a113738c5bdbc53a529b5
@@ -1,4 +1,9 @@
1
1
  # Change Log
2
+
3
+ ## 0.0.2
4
+ ### Fixes
5
+ * Fix wrong usage of variable in Configuration class ver[#5](https://github.com/contentful/database-exporter.rb/pull/5)
6
+
2
7
  ## 0.0.1
3
8
  ### Other
4
9
  * Initial release
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['rubygems@contentful.com']
11
11
  spec.description = 'Database exporter that prepares content to be imported'
12
12
  spec.summary = 'Exporter for SQL based databases'
13
- spec.homepage = 'https://github.com/contentful/database-adapter.rb'
13
+ spec.homepage = 'https://github.com/contentful/database-exporter.rb'
14
14
  spec.license = 'MIT'
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
16
  spec.executables << 'database-exporter'
@@ -24,7 +24,7 @@ module Contentful
24
24
  @helpers_dir = "#{data_dir}/helpers"
25
25
  @contentful_structure = load_contentful_structure_file
26
26
  @db = adapter_setup
27
- @converted_model_dir = settings['converted_model_dir']
27
+ @converted_model_dir = @config['converted_model_dir']
28
28
  @content_types = config['content_model_json']
29
29
  end
30
30
 
@@ -54,7 +54,7 @@ module Contentful
54
54
  end
55
55
 
56
56
  def create_empty_contentful_structure_file
57
- File.open(settings['contentful_structure_dir'], 'w') { |file| file.write({}) }
57
+ File.open(@config['contentful_structure_dir'], 'w') { |file| file.write({}) }
58
58
  load_existing_contentful_structure_file
59
59
  end
60
60
 
@@ -66,4 +66,4 @@ module Contentful
66
66
  Sequel.connect(:adapter => config['adapter'], :user => config['user'], :host => config['host'], :database => config['database'], :password => config['password'])
67
67
  end
68
68
  end
69
- end
69
+ end
@@ -1,3 +1,3 @@
1
1
  module Version
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database-exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.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-01-28 00:00:00.000000000 Z
11
+ date: 2015-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -277,7 +277,7 @@ files:
277
277
  - spec/spec_helper.rb
278
278
  - spec/support/db_rows_json.rb
279
279
  - spec/support/shared_configuration.rb
280
- homepage: https://github.com/contentful/database-adapter.rb
280
+ homepage: https://github.com/contentful/database-exporter.rb
281
281
  licenses:
282
282
  - MIT
283
283
  metadata: {}