locale_schema 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module LocaleSchema
30
30
  s = I18n.t(defaults[0], options.merge(:default => defaults[1..-1]))
31
31
 
32
32
  if leaf_name == 'markdown'
33
- s = ::Redcarpet.new(s).to_html
33
+ s = ::Redcarpet::Markdown.new(Redcarpet::Render::HTML).render(s)
34
34
  end
35
35
 
36
36
  s
@@ -1,3 +1,3 @@
1
1
  module LocaleSchema
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency('redcarpet')
21
+ s.add_dependency('redcarpet', '2.1.0')
22
22
 
23
23
  s.add_development_dependency('i18n')
24
24
  s.add_development_dependency('rspec')
metadata CHANGED
@@ -1,72 +1,67 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: locale_schema
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
4
5
  prerelease:
5
- version: 0.0.5
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Christopher Dell
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-12 00:00:00 +02:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-30 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: redcarpet
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70120346649280 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: "0"
18
+ requirements:
19
+ - - =
20
+ - !ruby/object:Gem::Version
21
+ version: 2.1.0
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: i18n
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70120346649280
25
+ - !ruby/object:Gem::Dependency
26
+ name: i18n
27
+ requirement: &70120346648860 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
36
33
  type: :development
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: rspec
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70120346648860
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70120346648400 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
47
44
  type: :development
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: guard-rspec
51
45
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70120346648400
47
+ - !ruby/object:Gem::Dependency
48
+ name: guard-rspec
49
+ requirement: &70120346647980 !ruby/object:Gem::Requirement
53
50
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
58
55
  type: :development
59
- version_requirements: *id004
56
+ prerelease: false
57
+ version_requirements: *70120346647980
60
58
  description: This gem provides a hierarchy for I18n defaults
61
- email:
59
+ email:
62
60
  - chris@tigrish.com
63
61
  executables: []
64
-
65
62
  extensions: []
66
-
67
63
  extra_rdoc_files: []
68
-
69
- files:
64
+ files:
70
65
  - .gitignore
71
66
  - .rvmrc
72
67
  - Gemfile
@@ -82,35 +77,31 @@ files:
82
77
  - spec/locale_schema/translation_spec.rb
83
78
  - spec/spec_helper.rb
84
79
  - spec/support/views.rb
85
- has_rdoc: true
86
- homepage: ""
80
+ homepage: ''
87
81
  licenses: []
88
-
89
82
  post_install_message:
90
83
  rdoc_options: []
91
-
92
- require_paths:
84
+ require_paths:
93
85
  - lib
94
- required_ruby_version: !ruby/object:Gem::Requirement
86
+ required_ruby_version: !ruby/object:Gem::Requirement
95
87
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: "0"
100
- required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ! '>='
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
93
  none: false
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: "0"
94
+ requirements:
95
+ - - ! '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
106
98
  requirements: []
107
-
108
99
  rubyforge_project: locale_schema
109
- rubygems_version: 1.5.0
100
+ rubygems_version: 1.8.6
110
101
  signing_key:
111
102
  specification_version: 3
112
103
  summary: This gem provides a hierarchy for I18n defaults
113
- test_files:
104
+ test_files:
114
105
  - spec/fixtures/en.yml
115
106
  - spec/locale_schema/rails/actionv_view_spec.rb
116
107
  - spec/locale_schema/translation_spec.rb