contentful-importer 0.1.0 → 0.1.1

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: 7bbaffd5d3e9186ca222dc18419f7ed4fa489115
4
- data.tar.gz: c3d3d73c0700ebc485e27d4f6a078768c5ba6ef1
3
+ metadata.gz: eaa4629a62ce75efb874ec258ca97b52e0c4445b
4
+ data.tar.gz: c19dcf768739ab8d598e308321656e603e003cab
5
5
  SHA512:
6
- metadata.gz: fc7e161a2a8ba9305c8c9a291dbc82d1efa41a8cb65a91cf0191e90f495f238f1b733aba09d79029fbd4591c0901938f9232aee2c60379bc19d5aa3fc3e52630
7
- data.tar.gz: 5550652c932b12155254e6ef460b657ad76f3ee03daadc6eed800771357f12878bacf3065aa3f8abfaa450c438cdbff10ad179fb7b412d365fd2dfa99d671578
6
+ metadata.gz: bf23dffc641289aee7933ee6b81d31cdfe2fb42731a97a20fea615fcd16ef37b3c79e60692ce7d3aca88f0c494c64814b5d71f576dc1778712a6bb93c7b6b8a7
7
+ data.tar.gz: 31f1f0dacef1a50f1afc4b7d44793d5d939071fd2e4c7a9537891b161161aacd8b7d987123a26fb8254b9c6e4ef967c3a83631b1156545d74ebbcc76e92b6c00
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.1.1
4
+ ### Added
5
+ * Log asset errors similar to entry import errors
6
+
3
7
  ## 0.1.0
4
8
  ### Added
5
9
  * Log publish errors similar to import errors
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- contentful-importer (0.0.2)
4
+ contentful-importer (0.1.0)
5
5
  activesupport (~> 4.1)
6
6
  api_cache (~> 0.3.0)
7
7
  contentful-management (~> 0.5.0)
@@ -115,8 +115,8 @@ module Contentful
115
115
  asset.process_file
116
116
  CSV.open("#{config.log_files_dir}/success_assets.csv", 'a') { |csv| csv << [asset.id] }
117
117
  else
118
- logger.info "Error - #{asset.message} "
119
- CSV.open("#{config.log_files_dir}/failure_assets.csv", 'a') { |csv| csv << [asset_attributes['id']] }
118
+ logger.info "Error - #{asset.message} - #{asset.response.raw} "
119
+ CSV.open("#{config.log_files_dir}/failure_assets.csv", 'a') { |csv| csv << [asset_attributes['id'], asset.message, asset.response.raw] }
120
120
  end
121
121
  end
122
122
 
@@ -1,5 +1,5 @@
1
1
  module Contentful
2
2
  module Importer
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
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.1.0
4
+ version: 0.1.1
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-04-28 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http