shirinji-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +10 -0
- data/Gemfile.lock +20 -25
- data/lib/shirinji-rails/railtie.rb +5 -4
- data/lib/shirinji-rails/version.rb +1 -1
- data/shirinji-rails.gemspec +1 -1
- 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: 2d8ea33f393fb706b8b855991df475f4ecb248e0
|
4
|
+
data.tar.gz: 88e115385be179f6548ce7c5ac69f0b489a010c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2f77b730c8b9455b846f24170d44b5461837ee2840354d4787e00f3dc242d727a5e1508680f96d3f5b3889bb653a457fd19bbf3b7ce306f058213ff80fd5dab
|
7
|
+
data.tar.gz: ad6e7046af6e84253c939d4c207c94d8807508830f9af2440ce9f1be1dce91a73a21d01dd9c40e2fa3ca25376300a1aa77ce4d8627117a5f0a1c261e7a626b99
|
data/CODE_OF_CONDUCT.md
ADDED
data/Gemfile.lock
CHANGED
@@ -1,44 +1,39 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../shirinji
|
3
|
-
specs:
|
4
|
-
shirinji (0.0.1)
|
5
|
-
|
6
1
|
PATH
|
7
2
|
remote: .
|
8
3
|
specs:
|
9
|
-
shirinji-rails (0.
|
4
|
+
shirinji-rails (0.0.3)
|
10
5
|
railties (>= 5.0.0)
|
11
|
-
shirinji (= 0.0.
|
6
|
+
shirinji (= 0.0.3)
|
12
7
|
|
13
8
|
GEM
|
14
9
|
remote: https://rubygems.org/
|
15
10
|
specs:
|
16
|
-
actionpack (5.
|
17
|
-
actionview (= 5.
|
18
|
-
activesupport (= 5.
|
11
|
+
actionpack (5.2.0)
|
12
|
+
actionview (= 5.2.0)
|
13
|
+
activesupport (= 5.2.0)
|
19
14
|
rack (~> 2.0)
|
20
15
|
rack-test (>= 0.6.3)
|
21
16
|
rails-dom-testing (~> 2.0)
|
22
17
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
23
|
-
actionview (5.
|
24
|
-
activesupport (= 5.
|
18
|
+
actionview (5.2.0)
|
19
|
+
activesupport (= 5.2.0)
|
25
20
|
builder (~> 3.1)
|
26
21
|
erubi (~> 1.4)
|
27
22
|
rails-dom-testing (~> 2.0)
|
28
23
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
29
|
-
activesupport (5.
|
24
|
+
activesupport (5.2.0)
|
30
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
31
|
-
i18n (
|
26
|
+
i18n (>= 0.7, < 2)
|
32
27
|
minitest (~> 5.1)
|
33
28
|
tzinfo (~> 1.1)
|
34
29
|
builder (3.2.3)
|
35
30
|
concurrent-ruby (1.0.5)
|
36
|
-
crass (1.0.
|
31
|
+
crass (1.0.4)
|
37
32
|
diff-lcs (1.3)
|
38
|
-
erubi (1.7.
|
39
|
-
i18n (0.
|
33
|
+
erubi (1.7.1)
|
34
|
+
i18n (1.0.0)
|
40
35
|
concurrent-ruby (~> 1.0)
|
41
|
-
loofah (2.2.
|
36
|
+
loofah (2.2.2)
|
42
37
|
crass (~> 1.0.2)
|
43
38
|
nokogiri (>= 1.5.9)
|
44
39
|
method_source (0.9.0)
|
@@ -47,16 +42,16 @@ GEM
|
|
47
42
|
nokogiri (1.8.2)
|
48
43
|
mini_portile2 (~> 2.3.0)
|
49
44
|
rack (2.0.4)
|
50
|
-
rack-test (0.
|
45
|
+
rack-test (1.0.0)
|
51
46
|
rack (>= 1.0, < 3)
|
52
47
|
rails-dom-testing (2.0.3)
|
53
48
|
activesupport (>= 4.2.0)
|
54
49
|
nokogiri (>= 1.6)
|
55
|
-
rails-html-sanitizer (1.0.
|
56
|
-
loofah (~> 2.
|
57
|
-
railties (5.
|
58
|
-
actionpack (= 5.
|
59
|
-
activesupport (= 5.
|
50
|
+
rails-html-sanitizer (1.0.4)
|
51
|
+
loofah (~> 2.2, >= 2.2.2)
|
52
|
+
railties (5.2.0)
|
53
|
+
actionpack (= 5.2.0)
|
54
|
+
activesupport (= 5.2.0)
|
60
55
|
method_source
|
61
56
|
rake (>= 0.8.7)
|
62
57
|
thor (>= 0.18.1, < 2.0)
|
@@ -74,6 +69,7 @@ GEM
|
|
74
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
75
70
|
rspec-support (~> 3.7.0)
|
76
71
|
rspec-support (3.7.1)
|
72
|
+
shirinji (0.0.3)
|
77
73
|
thor (0.20.0)
|
78
74
|
thread_safe (0.3.6)
|
79
75
|
tzinfo (1.2.5)
|
@@ -86,7 +82,6 @@ DEPENDENCIES
|
|
86
82
|
bundler (~> 1.16)
|
87
83
|
rake (~> 10.0)
|
88
84
|
rspec (~> 3.0)
|
89
|
-
shirinji!
|
90
85
|
shirinji-rails!
|
91
86
|
|
92
87
|
BUNDLED WITH
|
@@ -11,13 +11,14 @@ module ShirinjiRails
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def init!
|
14
|
-
return unless config_path
|
14
|
+
return unless (conf = config_path)
|
15
15
|
|
16
|
-
map = eval File.read(
|
16
|
+
map = eval File.read(conf)
|
17
17
|
config.shirinji.resolver = Shirinji::Resolver.new(map)
|
18
18
|
|
19
19
|
ActiveSupport::Reloader.to_prepare do
|
20
|
-
|
20
|
+
map = eval File.read(conf)
|
21
|
+
::Rails.application.config.shirinji.resolver.reload(map)
|
21
22
|
end
|
22
23
|
end
|
23
24
|
|
@@ -28,4 +29,4 @@ module ShirinjiRails
|
|
28
29
|
::Rails.root.join('config/dependencies.rb')
|
29
30
|
end
|
30
31
|
end
|
31
|
-
end
|
32
|
+
end
|
data/shirinji-rails.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
23
|
spec.add_dependency 'railties', '>= 5.0.0'
|
24
|
-
spec.add_dependency 'shirinji', '0.0.
|
24
|
+
spec.add_dependency 'shirinji', '0.0.3'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shirinji-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Dutey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- ".ruby-gemset"
|
94
94
|
- ".ruby-version"
|
95
95
|
- ".travis.yml"
|
96
|
+
- CODE_OF_CONDUCT.md
|
96
97
|
- Gemfile
|
97
98
|
- Gemfile.lock
|
98
99
|
- README.md
|