air18n 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ module Air18n
2
+ module DefaultTextChangeObserver
3
+ # Called when default text for key changes from old_default to new_default
4
+ # in locale (which is necessarilly the default locale).
5
+ # Return value is ignored.
6
+ def default_text_changed(locale, key, old_default, new_default)
7
+ end
8
+
9
+ # Called when default text for key changes from old_default to new_default in locale.
10
+ # If return value is true, the text in the default locale will be changed
11
+ # to new_default; otherwise it will stay as old_default.
12
+ def allow_default_text_change?(locale, key, old_default, new_default)
13
+ end
14
+ end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module Air18n
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/make_gem CHANGED
@@ -1,5 +1,5 @@
1
1
  # Run this to push the new version of the gem to rubygems!
2
- v=0.1.4
2
+ v=0.1.5
3
3
  gem build air18n.gemspec
4
4
  gem push air18n-${v}.gem
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: air18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -148,6 +148,7 @@ files:
148
148
  - lib/air18n.rb
149
149
  - lib/air18n/backend.rb
150
150
  - lib/air18n/class_methods.rb
151
+ - lib/air18n/default_text_change_observer.rb
151
152
  - lib/air18n/less_silly_chain.rb
152
153
  - lib/air18n/logging_helper.rb
153
154
  - lib/air18n/mock_priority.rb