translateable 0.1.3 → 0.1.4

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
2
  SHA1:
3
- metadata.gz: 74e5653f87bacd831d822678ab07d712e528312a
4
- data.tar.gz: a89a68ddbbf4fc1477aab71edd138b10a5d8448b
3
+ metadata.gz: 5f72e8b50b3719bb4620f612f3d802723c54ca78
4
+ data.tar.gz: f1d37ecc104e3246da0dcb4ef69ead4e49de4799
5
5
  SHA512:
6
- metadata.gz: 546f7856b6fb230c8dbc606efee2aa077e1fcdbd193413c4c48921ad67411f71cb9e5cc95ae148d0cd6fd90d7b7bd136eaa4df745368e99e59d299e3758e31a2
7
- data.tar.gz: 52c05cf36d6e1610c4964483ff90f21a7e0fe3c5163b857b87d54ba8f9253d73515171034a628936c13e1a248cc89bc4244d4cb144efb33387fd8acb8d895c62
6
+ metadata.gz: 0ceb75373089abdf4117a0b981a878eb5b4ef73738b5000e1ebaa185aeb2834af891329fc56908b054085849fcd7a09974e8f6ab1832bd76d6bd47db21ee9b86
7
+ data.tar.gz: d70a1d37d88c98ebae87ea395ad563154ae0770720825af35ca6af9dff5ae451fa1b65a391706e8fb92a80a770cfcab29160543a607697ed014e61c5982aa6d9
@@ -2,7 +2,7 @@ class MigrateTranslateable<%= table_name.camelize + field_name.camelize %> < Act
2
2
  def change
3
3
  reversible do |dir|
4
4
  dir.up do
5
- add_column :<%= table_name %>, :<%= field_name + '_t' %>, :jsonb, null: false, default: '{}'
5
+ add_column :<%= table_name %>, :<%= field_name + '_t' %>, :jsonb, null: false, default: {}
6
6
  execute <<-SQL
7
7
  UPDATE <%= table_name %> AS m1
8
8
  SET <%= field_name + '_t' %> = (
@@ -1,3 +1,3 @@
1
1
  module Translateable
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translateable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Antonyan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-30 00:00:00.000000000 Z
11
+ date: 2016-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler