tolk 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d28cc93fabb8286338fbdd1cd8715df10f4a76b1
4
- data.tar.gz: 32cb9e4dc582a1d92091bb6a49f5b0dff1ac47bf
2
+ SHA256:
3
+ metadata.gz: 13d8d26b2098b0ae5b40b1a283d50d6cb099f8d83ce6630a7d1807e669e7e864
4
+ data.tar.gz: b5d904bee635dc8271da82a1dca6e1a487696ecd68d5b99cc38169ed6491f6cf
5
5
  SHA512:
6
- metadata.gz: cf75b9e6e531e9eac234b348b0bcdfc709389d7236102e6fbf8d8f34c8a2707290d79f245a0f93f8c233874c5e0f0f8c28fc02d7e666b509b7edf4a00b16e969
7
- data.tar.gz: 2a1d268fc7027215f7642e59857f9b0651b8af9adf3828db557dc03ae310a65e8f1eae7bfbe4fab5af39bf027bfb74928d2d2aed8a6d3f67155120b6fcab17eb
6
+ metadata.gz: faa81169ad3e11e3cd4a53443e58a0ce884f1cf81657b0cf257129b81fa72211d414e89e7b45104d1f68486695f82695da0e5c2fe8746c123698aa7fcde8efd1
7
+ data.tar.gz: e052ecc99b90cc40fe7dd5626a52da884bf4ef67758b2b189c37b21b2be0736c255cb4d58af8a5dc67d7b19aadb7770188fa7c199e48620672121a2a6f03828c
@@ -17,7 +17,7 @@ module Tolk
17
17
 
18
18
  format.yaml do
19
19
  data = @locale.to_hash
20
- render :text => Tolk::YAML.dump(data)
20
+ render :plain => Tolk::YAML.dump(data)
21
21
  end
22
22
 
23
23
  end
@@ -46,7 +46,7 @@ module Tolk
46
46
  end
47
47
 
48
48
  def text=(value)
49
- value = value.to_s if value.kind_of?(Fixnum)
49
+ value = value.to_s if value.kind_of?(Integer)
50
50
  if primary_translation && primary_translation.boolean?
51
51
  value = case value.to_s.downcase.strip
52
52
  when 'true', 't'
@@ -1,4 +1,4 @@
1
- class CreateTolkTables < ActiveRecord::Migration
1
+ class CreateTolkTables < ActiveRecord::Migration[4.2]
2
2
  def self.up
3
3
  create_table :tolk_locales do |t|
4
4
  t.string :name
@@ -1,3 +1,3 @@
1
1
  module Tolk
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tolk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-06-14 00:00:00.000000000 Z
15
+ date: 2017-11-23 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  version: '0'
180
180
  requirements: []
181
181
  rubyforge_project:
182
- rubygems_version: 2.6.12
182
+ rubygems_version: 2.7.2
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Rails engine providing web interface for managing i18n yaml files