cmsable 0.0.7 → 0.0.8

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzI0YmZlMGVhM2VkNjNhMDUzZGNkOWY1Yzg2YzI3NWUzMTE2OWQ4Zg==
4
+ MjJlZDA4MmQ1NGMyNjgyYTRlMGFhZmM1ODg0ZTFkZDIwNGQ0YTU5Mw==
5
5
  data.tar.gz: !binary |-
6
- NzkwNWVkMmUyOTlmMWY3NjUwMzNjNmViOGZkOTBiZmJmZDA3NGY3Mg==
6
+ ZDViNzBkZmQ4MzA5ZTJhYzc5MGFlMjI5MmIyYjgzM2I4NTc3OGI1MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjUzZWI2MGUwYjU2MDA0MmY5OGYzZGM4ZTkwYzc4YjhlMTVlNmM1MDA4NTgy
10
- YzQyNTUyMjgxNGZlMjg3Yzg1ZWRkYWEwMTAwYzdmODhlNzE5MWRkZDk1MDU4
11
- NTAyMTc5NTU5YmU0OTBiMzgxMDMxZjBiMjA5YTg1ODkwMDA0Y2Y=
9
+ ZDBiODgwY2ZhMGExYzdkYWM2MGM1NTVhYTAzMDRhMTMzN2Q3ZjM1N2M5OTcx
10
+ ZWFmMTViOWY4NTY3NzgxOGVlYTFiMWU0YzBjMzU5M2MwZjFhMDUwYWVmZjAw
11
+ MzI3ZDQxNjA2OTJkN2ZjNzIxMThkNjFlOTkzNzhkNzNmODczYmM=
12
12
  data.tar.gz: !binary |-
13
- YjhiYjY4NjRmMzUzMmFhOGUwMTFhZWVlYmIxZmJlOTViZDFkYzNkNjY3MDc5
14
- NzI1MDQ5YTY1ODFlMjRkYjViNDFiMDc5MGMzZDM0Yzc0ZmVjN2VhOWVjYTM1
15
- MDg2Yjk0YzBmN2ZjNzU2Yzk2NmQwZDZiYjY4NGVmNjEwMDA2NDE=
13
+ NzgyZDg4MTk0Yzg0ZmZkNDhmNTFkMWVhMWIzOTc4YmExYmY4YjJiMDM3ZTgw
14
+ ODIwNGE3NjdmNGE5MjQ3YjQyZDQzNDI2MTIzMDhlZjVkMzQ3MjQ4N2ZjYzk4
15
+ MjQ3NGExZGFmNDAzNmI4ZDM2ZjE5NzExNmY0ZGI3M2Q1YmMyMWY=
@@ -21,7 +21,7 @@ module Cmsable
21
21
  end
22
22
 
23
23
  def self.get name
24
- find_or_create_by_name name, :body => "<p>Awaiting Content</p>"
24
+ find_or_create_by_name name, :body => I18n.t("cmsable.#{name}", default: "<p>Awaiting Content</p>")
25
25
  end
26
26
 
27
27
  # Scopes
@@ -1,3 +1,3 @@
1
1
  module Cmsable
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmsable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Butler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-22 00:00:00.000000000 Z
11
+ date: 2014-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.11
19
+ version: '3.2'
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
- version: 3.2.11
26
+ version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ckeditor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.2
33
+ version: '4.0'
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
- version: 4.0.2
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cancan
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.6'
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
- version: '0'
54
+ version: '1.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '1.6'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '1.6'
69
69
  description: Lets users update the content on their pages directly on the page without
70
70
  the need of an admin system
71
71
  email:
@@ -128,7 +128,8 @@ files:
128
128
  - test/test_helper.rb
129
129
  - test/unit/helpers/cmsable/cmsable_helper_test.rb
130
130
  homepage: http://www.hardhatdigital.com.au/
131
- licenses: []
131
+ licenses:
132
+ - MIT
132
133
  metadata: {}
133
134
  post_install_message:
134
135
  rdoc_options: []