middleman-more 3.0.12 → 3.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,10 @@ module Middleman::Extensions
30
30
 
31
31
  if output_filename
32
32
  size_change_word = (old_size - new_size) > 0 ? 'smaller' : 'larger'
33
+ old_locale = I18n.locale
34
+ I18n.locale = :en # use the english localizations for printing out file sizes to make sure the localizations exist
33
35
  builder.say_status :gzip, "#{output_filename} (#{number_to_human_size((old_size - new_size).abs)} #{size_change_word})"
36
+ I18n.locale = old_locale
34
37
  end
35
38
  end
36
39
  end
@@ -25,6 +25,6 @@ Gem::Specification.new do |s|
25
25
  s.add_dependency("coffee-script-source", ["~> 1.3.3"])
26
26
  s.add_dependency("execjs", ["~> 1.4.0"])
27
27
  s.add_dependency("maruku", ["~> 0.6.0"])
28
- s.add_dependency("i18n", ["~> 0.6.0"])
28
+ s.add_dependency("i18n", ["~> 0.6.0", "< 0.6.2"]) # 0.6.2 broke Ruby 1.8 support
29
29
  s.add_dependency("padrino-helpers", ["0.10.7"])
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-more
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.12
4
+ version: 3.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-25 00:00:00.000000000 Z
13
+ date: 2013-03-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: middleman-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 3.0.12
22
+ version: 3.0.13
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - '='
29
29
  - !ruby/object:Gem::Version
30
- version: 3.0.12
30
+ version: 3.0.13
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: uglifier
33
33
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +164,9 @@ dependencies:
164
164
  - - ~>
165
165
  - !ruby/object:Gem::Version
166
166
  version: 0.6.0
167
+ - - <
168
+ - !ruby/object:Gem::Version
169
+ version: 0.6.2
167
170
  type: :runtime
168
171
  prerelease: false
169
172
  version_requirements: !ruby/object:Gem::Requirement
@@ -172,6 +175,9 @@ dependencies:
172
175
  - - ~>
173
176
  - !ruby/object:Gem::Version
174
177
  version: 0.6.0
178
+ - - <
179
+ - !ruby/object:Gem::Version
180
+ version: 0.6.2
175
181
  - !ruby/object:Gem::Dependency
176
182
  name: padrino-helpers
177
183
  requirement: !ruby/object:Gem::Requirement
@@ -646,7 +652,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
646
652
  version: '0'
647
653
  segments:
648
654
  - 0
649
- hash: -2990523584546993617
655
+ hash: 243584388713683927
650
656
  required_rubygems_version: !ruby/object:Gem::Requirement
651
657
  none: false
652
658
  requirements:
@@ -655,7 +661,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
655
661
  version: '0'
656
662
  segments:
657
663
  - 0
658
- hash: -2990523584546993617
664
+ hash: 243584388713683927
659
665
  requirements: []
660
666
  rubyforge_project:
661
667
  rubygems_version: 1.8.23