refinerycms-i18n 0.9.9.8 → 0.9.9.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/gemspec.rb +1 -1
  2. data/lib/refinery/i18n.rb +6 -2
  3. metadata +2 -2
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.9.8'
2
+ version = '0.9.9.9'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem(spec)?$/
data/lib/refinery/i18n.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  # Encoding: UTF-8 <-- required, please leave this in.
2
- require 'refinery'
2
+ if defined?(Refinery) && Refinery.version > '0.9.9'
3
+ require 'refinerycms-core'
4
+ else
5
+ require 'refinery'
6
+ end
3
7
  require 'routing-filter'
4
8
 
5
9
  module Refinery
@@ -65,7 +69,7 @@ module Refinery
65
69
 
66
70
  Refinery::Plugin.register do |plugin|
67
71
  plugin.name = "refinery_i18n"
68
- plugin.version = %q{0.9.9.8}
72
+ plugin.version = %q{0.9.9.9}
69
73
  plugin.hide_from_menu = true
70
74
  plugin.always_allow_access = true
71
75
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-i18n
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.8
5
+ version: 0.9.9.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-05 00:00:00 +13:00
13
+ date: 2011-02-11 00:00:00 +13:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency