t_t 1.3.1 → 1.3.2

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: e1778d63797bef7e82a460b8db4120d651651cfd
4
- data.tar.gz: 6ec1bc34106914cf96f5d05609153f61329d0e2d
3
+ metadata.gz: 6b2923ec3cc274e702884644d43d1763aead5bdc
4
+ data.tar.gz: 83f9bd946598b6022eb31d9b52fc5a00707ce688
5
5
  SHA512:
6
- metadata.gz: 05623243e817f16aa945b7c7b01fd56b244c41b0d1d0f8b0958918bdd978fa78e5352039672bbde0e03a2a9fc7ba8b33a6680df534b398745e81e3642a857a72
7
- data.tar.gz: c2acf9ffb897a9ec497c1f02a24a0e11b60912dd156661a9ce1d195aa3aeb98471986d4d35fc75db387f6f7fdb82a2fdf2f0916d32ad1de50dce0a7946017535
6
+ metadata.gz: ca40beffed3153dc6b66f34dac5616ce0c20a5d2e812bdcabae373bc9c18297494d0e50fcd61ff5c8f280c56a6c32a9cf4d1357dcbdde801bc95c6d6edb5059f
7
+ data.tar.gz: 37a10c927ba1743cffbaee179bf64c3c6e09d546b69cf2db5d122899afd269914ed90e288379eea5b105b102b3bfa4ea21d1fd16bc29080bc21c4650b54edb39
data/.travis.yml CHANGED
@@ -1,14 +1,11 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.1
5
4
  - 2.2
6
5
  - 2.3
7
6
  - ruby-head
8
7
  gemfile:
9
8
  - gemfiles/Gemfile.actionpack-3.2.x
10
- - gemfiles/Gemfile.actionpack-4.0.x
11
- - gemfiles/Gemfile.actionpack-4.1.x
12
9
  - gemfiles/Gemfile.actionpack-4.2.x
13
10
  - gemfiles/Gemfile.actionpack-5.0.x
14
11
  - gemfiles/Gemfile.actionpack-5.1.x
data/lib/t_t/rails.rb CHANGED
@@ -53,7 +53,8 @@ module TT
53
53
  file_sync = ::TT::I18nSync.new(locale.to_s, Dir.glob(glob), mark)
54
54
  TT::Rails.sync(file_sync)
55
55
  ::Rails.application.reloaders << file_sync.checker
56
- ActionDispatch::Reloader.to_prepare { file_sync.checker.execute_if_updated }
56
+ reload_klass = defined?(ActiveSupport::Reloader) ? ActiveSupport::Reloader : ActionDispatch::Reloader
57
+ reload_klass.to_prepare { file_sync.checker.execute_if_updated }
57
58
  end
58
59
  end
59
60
  end
data/t_t.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "t_t"
5
- spec.version = "1.3.1"
5
+ spec.version = "1.3.2"
6
6
  spec.authors = ["Sergey Pchelintsev"]
7
7
  spec.email = ["mail@sergeyp.me"]
8
8
  spec.summary = %q{An opinioned I18n helper}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t_t
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Pchelintsev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-23 00:00:00.000000000 Z
11
+ date: 2017-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -117,7 +117,6 @@ extra_rdoc_files: []
117
117
  files:
118
118
  - ".gitignore"
119
119
  - ".travis.yml"
120
- - Dockerfile
121
120
  - Gemfile
122
121
  - Rakefile
123
122
  - cheatsheet.md
@@ -169,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
168
  version: '0'
170
169
  requirements: []
171
170
  rubyforge_project:
172
- rubygems_version: 2.6.14
171
+ rubygems_version: 2.6.13
173
172
  signing_key:
174
173
  specification_version: 4
175
174
  summary: An opinioned I18n helper
data/Dockerfile DELETED
@@ -1,6 +0,0 @@
1
- FROM ruby:2.4
2
- VOLUME /opt/tt
3
- VOLUME /root/.ssh
4
- WORKDIR /opt/tt
5
- RUN gem install bundler
6
- CMD bash