t_t 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/gemfiles/Gemfile.actionpack-3.2.x +1 -1
- data/gemfiles/Gemfile.actionpack-4.0.x +1 -1
- data/gemfiles/Gemfile.actionpack-4.1.x +1 -1
- data/gemfiles/Gemfile.actionpack-4.2.x +1 -1
- data/gemfiles/Gemfile.actionpack-5.0.x +4 -0
- data/gemfiles/Gemfile.actionpack-5.1.x +4 -0
- data/lib/t_t/rails.rb +3 -2
- data/t_t.gemspec +1 -1
- data/tests/lib/action_pack_test.rb +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25ab6bc258b192373b542a9d1ed3b5cab2e8bc59
|
|
4
|
+
data.tar.gz: b68173a8d400edbfeed308562e3e8fbf9b2a6b64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8cd5cccaf09832f11f17f21052b3ebdac483f6b704a7198796a9ee77e71fbce59a04f78d5e4a1153453aeb729eb593f1577db4df48917db8c68a2fd3ec6973d
|
|
7
|
+
data.tar.gz: d24a5680945464b25a18650877b0bd86f5da8586273e9130b713c5eccb336282d08d650ba19fbba9fcf2cf1cd684e4bd345298d6de326a303e23156aaee8eb44
|
data/.travis.yml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
cache: bundler
|
|
3
3
|
rvm:
|
|
4
|
-
- 1.9.3
|
|
5
|
-
- jruby
|
|
6
|
-
- 2.0.0
|
|
7
4
|
- 2.1
|
|
8
5
|
- 2.2
|
|
6
|
+
- 2.3
|
|
9
7
|
- ruby-head
|
|
10
8
|
gemfile:
|
|
11
9
|
- gemfiles/Gemfile.actionpack-3.2.x
|
|
12
10
|
- gemfiles/Gemfile.actionpack-4.0.x
|
|
13
11
|
- gemfiles/Gemfile.actionpack-4.1.x
|
|
14
12
|
- gemfiles/Gemfile.actionpack-4.2.x
|
|
13
|
+
- gemfiles/Gemfile.actionpack-5.0.x
|
|
14
|
+
- gemfiles/Gemfile.actionpack-5.1.x
|
|
15
15
|
- Gemfile
|
data/lib/t_t/rails.rb
CHANGED
|
@@ -17,9 +17,10 @@ module TT
|
|
|
17
17
|
extend ::ActiveSupport::Concern
|
|
18
18
|
|
|
19
19
|
included do
|
|
20
|
-
helper_method :
|
|
20
|
+
helper_method(:tt) if respond_to?(:helper_method)
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
meth_name = respond_to?(:prepend_before_action) ? :prepend_before_action : :prepend_before_filter
|
|
23
|
+
public_send(meth_name) { instance_variable_set(:@tt, ::TT::Rails.new(controller_path, action_name)) }
|
|
23
24
|
end
|
|
24
25
|
|
|
25
26
|
private
|
data/t_t.gemspec
CHANGED
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.2.
|
|
4
|
+
version: 1.2.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:
|
|
11
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|
|
@@ -127,6 +127,8 @@ files:
|
|
|
127
127
|
- gemfiles/Gemfile.actionpack-4.0.x
|
|
128
128
|
- gemfiles/Gemfile.actionpack-4.1.x
|
|
129
129
|
- gemfiles/Gemfile.actionpack-4.2.x
|
|
130
|
+
- gemfiles/Gemfile.actionpack-5.0.x
|
|
131
|
+
- gemfiles/Gemfile.actionpack-5.1.x
|
|
130
132
|
- lib/t_t.rb
|
|
131
133
|
- lib/t_t/action_factory.rb
|
|
132
134
|
- lib/t_t/base.rb
|
|
@@ -164,9 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
164
166
|
version: '0'
|
|
165
167
|
requirements: []
|
|
166
168
|
rubyforge_project:
|
|
167
|
-
rubygems_version: 2.
|
|
169
|
+
rubygems_version: 2.6.11
|
|
168
170
|
signing_key:
|
|
169
171
|
specification_version: 4
|
|
170
172
|
summary: An opinioned I18n helper
|
|
171
173
|
test_files: []
|
|
172
|
-
has_rdoc:
|