contentful_rails 0.2.3 → 0.3.0
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 +4 -4
- data/Rakefile +0 -2
- data/lib/contentful_rails/engine.rb +2 -0
- data/lib/contentful_rails/version.rb +2 -2
- data/lib/contentful_rails.rb +4 -0
- data/test/dummy/Rakefile +2 -0
- metadata +13 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f17d46dad767afc329cec1d2b6dac3edf06cdd1
|
|
4
|
+
data.tar.gz: 4f234bc62f1f847a330be9e7c805a3cf84fa01d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e9b5df096a58ed1fb80c03609509f7939601cd2f41d00adf53c69037989f364b5234e79dba31faca26fecda011913f43acb88ddbdf95831604a04485f049d91
|
|
7
|
+
data.tar.gz: dd9bfcbc384b5e767799f0c63425fc0bba7a0d1b05b0c28c3b4bf24c0c5daf6548a13cb76e2d4a01448699b6c8755577b0d32a9c882a931bb8f84b7ecf184d86
|
data/Rakefile
CHANGED
|
@@ -13,6 +13,8 @@ module ContentfulRails
|
|
|
13
13
|
ContentfulModel.configure do |config|
|
|
14
14
|
config.access_token = ContentfulRails.configuration.access_token
|
|
15
15
|
config.preview_access_token = ContentfulRails.configuration.preview_access_token
|
|
16
|
+
config.management_token = ContentfulRails.configuration.management_token
|
|
17
|
+
config.default_locale = ContentfulRails.configuration.default_locale
|
|
16
18
|
config.space = ContentfulRails.configuration.space
|
|
17
19
|
config.options = ContentfulRails.configuration.contentful_options
|
|
18
20
|
end
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module ContentfulRails
|
|
2
|
-
VERSION = "0.
|
|
3
|
-
end
|
|
2
|
+
VERSION = "0.3.0"
|
|
3
|
+
end
|
data/lib/contentful_rails.rb
CHANGED
|
@@ -27,7 +27,9 @@ module ContentfulRails
|
|
|
27
27
|
:perform_caching,
|
|
28
28
|
:access_token,
|
|
29
29
|
:preview_access_token,
|
|
30
|
+
:management_token,
|
|
30
31
|
:space,
|
|
32
|
+
:default_locale,
|
|
31
33
|
:contentful_options,
|
|
32
34
|
:preview_username,
|
|
33
35
|
:preview_password,
|
|
@@ -42,3 +44,5 @@ module ContentfulRails
|
|
|
42
44
|
end
|
|
43
45
|
end
|
|
44
46
|
end
|
|
47
|
+
|
|
48
|
+
ActiveRecord::Migration.send(:include, ContentfulModel::Migrations::Migration)
|
data/test/dummy/Rakefile
ADDED
metadata
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contentful_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Error Creative Studio
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: contentful_model
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 0.1.7
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 0.1.7
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rails
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: 4.1.8
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: 4.1.8
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: redcarpet
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - ~>
|
|
45
|
+
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '3.2'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - ~>
|
|
52
|
+
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '3.2'
|
|
55
55
|
description: A gem to help with hooking Contentful into your Rails application
|
|
@@ -75,6 +75,7 @@ files:
|
|
|
75
75
|
- lib/contentful_rails/version.rb
|
|
76
76
|
- lib/tasks/contentful_rails_tasks.rake
|
|
77
77
|
- test/contentful_rails_test.rb
|
|
78
|
+
- test/dummy/Rakefile
|
|
78
79
|
- test/integration/navigation_test.rb
|
|
79
80
|
- test/test_helper.rb
|
|
80
81
|
homepage: https://github.com/errorstudio/contentful_rails
|
|
@@ -87,21 +88,22 @@ require_paths:
|
|
|
87
88
|
- lib
|
|
88
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
90
|
requirements:
|
|
90
|
-
- -
|
|
91
|
+
- - ">="
|
|
91
92
|
- !ruby/object:Gem::Version
|
|
92
93
|
version: '0'
|
|
93
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
95
|
requirements:
|
|
95
|
-
- -
|
|
96
|
+
- - ">="
|
|
96
97
|
- !ruby/object:Gem::Version
|
|
97
98
|
version: '0'
|
|
98
99
|
requirements: []
|
|
99
100
|
rubyforge_project:
|
|
100
|
-
rubygems_version: 2.
|
|
101
|
+
rubygems_version: 2.5.1
|
|
101
102
|
signing_key:
|
|
102
103
|
specification_version: 4
|
|
103
104
|
summary: A gem to help with hooking Contentful into your Rails application
|
|
104
105
|
test_files:
|
|
105
106
|
- test/contentful_rails_test.rb
|
|
107
|
+
- test/dummy/Rakefile
|
|
106
108
|
- test/integration/navigation_test.rb
|
|
107
109
|
- test/test_helper.rb
|