interpret 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ module Interpret
8
8
 
9
9
  after_update :set_stale
10
10
  before_validation :downcase_key
11
- attr_accessible :stale
11
+ attr_accessible :stale, :locale, :key, :value
12
12
 
13
13
  scope :stale, lambda { where(:stale => true) }
14
14
 
@@ -19,7 +19,6 @@
19
19
  <%= best_in_place x, :value,
20
20
  :type => :textarea,
21
21
  :path => translation_path(x),
22
- :activator => "#translation_#{x.id}",
23
22
  :sanitize => false %>
24
23
  </td>
25
24
  </tr>
@@ -27,7 +26,7 @@
27
26
  <% else %>
28
27
  <% @references.each do |x| %>
29
28
  <% trans = @translations.detect{|y| y.key == x.key} %>
30
- <tr<%= " id='translation_#{trans.id}'" if trans %>>
29
+ <tr<%= " id=translation_#{trans.id}" if trans %>>
31
30
  <td style='width:5%'><%= x.key %></td>
32
31
  <td style='width:50%'><%= x.value %></td>
33
32
  <td style='width:50%'>
@@ -35,7 +34,6 @@
35
34
  <%= best_in_place trans, :value,
36
35
  :type => :textarea,
37
36
  :path => translation_path(trans),
38
- :activator => "#translation_#{trans.id}",
39
37
  :sanitize => false %>
40
38
  <% else %>
41
39
  <%= link_to "Create this missing translation", missing_translations_path %>
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency "i18n", "~> 0.6.0"
24
24
  s.add_dependency "i18n-active_record"
25
25
  s.add_dependency "ya2yaml", ">= 0.30.0"
26
- s.add_dependency "best_in_place", "~> 1.0"
26
+ s.add_dependency "best_in_place", "~> 2"
27
27
  s.add_dependency "lazyhash", ">= 0.1.1"
28
28
  s.add_dependency "cancan", "~> 1.6.0"
29
29
  s.add_dependency "jquery-rails"
@@ -1,3 +1,3 @@
1
1
  module Interpret
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interpret
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-20 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: '1.0'
85
+ version: '2'
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: '1.0'
93
+ version: '2'
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: lazyhash
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  version: '0'
338
338
  requirements: []
339
339
  rubyforge_project: interpret
340
- rubygems_version: 1.8.18
340
+ rubygems_version: 1.8.24
341
341
  signing_key:
342
342
  specification_version: 3
343
343
  summary: Manage your app translations with an i18n active_record backend