emipair-merb_global 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- emipair-merb_global (0.0.10)
4
+ emipair-merb_global (0.0.11)
5
5
  gettext (= 2.0.4)
6
6
  merb-core (>= 0.9.1)
7
7
  treetop (~> 1.2.3)
@@ -34,6 +34,7 @@ GEM
34
34
  extlib (0.9.15)
35
35
  gettext (2.0.4)
36
36
  locale (>= 2.0.4)
37
+ json (1.4.6)
37
38
  locale (2.0.4)
38
39
  merb-core (1.1.3)
39
40
  bundler
@@ -67,6 +68,7 @@ DEPENDENCIES
67
68
  do_sqlite3 (= 0.9.11)
68
69
  emipair-merb_global!
69
70
  gettext (= 2.0.4)
71
+ json
70
72
  merb-core (>= 0.9.1)
71
73
  mocha (= 0.9.8)
72
74
  rcov
data/HISTORY CHANGED
@@ -1,3 +1,6 @@
1
+ === 0.0.11
2
+ * fixes bug in MerbGlobal::Provider::Yaml#to_json so that it handles nil properly.
3
+
1
4
  === 0.0.10
2
5
  * Add gettext v2.0.4 as a dependency
3
6
 
@@ -41,4 +41,6 @@ Gem::Specification.new do |s|
41
41
 
42
42
  s.add_development_dependency('sequel', '2.9.0')
43
43
  s.add_development_dependency('sqlite3-ruby', '1.3.2')
44
+
45
+ s.add_development_dependency('json')
44
46
  end
@@ -75,7 +75,8 @@ module Merb
75
75
  end
76
76
  end
77
77
 
78
- def to_json(locale = Locale.new('en'))
78
+ def to_json(locale = nil)
79
+ locale ||= Locale.new('en')
79
80
  lang = get_lang
80
81
 
81
82
  # Extracted yaml_data from this method to support looking through several yaml files.
@@ -1,5 +1,5 @@
1
1
  module Merb
2
2
  module Global
3
- VERSION = '0.0.10'
3
+ VERSION = '0.0.11'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emipair-merb_global
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
5
- prerelease:
4
+ hash: 9
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 11
10
+ version: 0.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - EMI Engineering
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-11 00:00:00 -08:00
18
+ date: 2011-01-18 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -240,6 +240,20 @@ dependencies:
240
240
  version: 1.3.2
241
241
  type: :development
242
242
  version_requirements: *id014
243
+ - !ruby/object:Gem::Dependency
244
+ name: json
245
+ prerelease: false
246
+ requirement: &id015 !ruby/object:Gem::Requirement
247
+ none: false
248
+ requirements:
249
+ - - ">="
250
+ - !ruby/object:Gem::Version
251
+ hash: 3
252
+ segments:
253
+ - 0
254
+ version: "0"
255
+ type: :development
256
+ version_requirements: *id015
243
257
  description: Localization (L10n) and Internationalization (i18n) support for the Merb MVC Framework
244
258
  email: platform-ops@emimusic.com
245
259
  executables: []
@@ -383,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
383
397
  requirements: []
384
398
 
385
399
  rubyforge_project: merb-global
386
- rubygems_version: 1.4.1
400
+ rubygems_version: 1.3.7
387
401
  signing_key:
388
402
  specification_version: 3
389
403
  summary: Localization (L10n) and Internationalization (i18n) support for the Merb MVC Framework