contentful-management 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 0.0.2
2
+ * Fix: Convert an Entry to a DynamicEntry after being created.
3
+
1
4
  ### 0.0.1
2
5
  * Fix: Headers not properly cleared between requests
3
6
  * Fix: Create entries with custom identifier
@@ -56,6 +56,7 @@ module Contentful
56
56
 
57
57
  response = custom_id.empty? ? request.post : request.put
58
58
  result = ResourceBuilder.new(Contentful::Management::Client.shared_instance, response, {}, {})
59
+ Contentful::Management::Client.shared_instance.register_dynamic_entry(content_type.id, DynamicEntry.create(content_type))
59
60
  result.run
60
61
  end
61
62
 
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Contentful
3
3
  module Management
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-management
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-08-13 00:00:00.000000000 Z
14
+ date: 2014-08-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: http
@@ -393,7 +393,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
393
393
  version: '0'
394
394
  segments:
395
395
  - 0
396
- hash: -732349025618682586
396
+ hash: -2682848503552610663
397
397
  required_rubygems_version: !ruby/object:Gem::Requirement
398
398
  none: false
399
399
  requirements:
@@ -402,7 +402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
402
402
  version: '0'
403
403
  segments:
404
404
  - 0
405
- hash: -732349025618682586
405
+ hash: -2682848503552610663
406
406
  requirements: []
407
407
  rubyforge_project:
408
408
  rubygems_version: 1.8.23.2