reloader_interceptor 0.0.2 → 0.0.3
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/.gitignore +1 -0
- data/Gemfile +1 -1
- data/README.md +3 -3
- data/lib/reloader_interceptor/version.rb +1 -1
- data/lib/reloader_interceptor/wrapper.rb +4 -1
- data/reloader_interceptor.gemspec +2 -2
- data/renovate.json +5 -0
- metadata +7 -7
- data/Gemfile.lock +0 -62
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6739624fc42c7811fb056cb58fb85896c7c9f28171ecf8f4fd626c8c3bacc521
|
|
4
|
+
data.tar.gz: 16c56d136f2cc34a1b737ec68d9942c9204f5691c2be12b31a9da0536d7900e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5791eea5ea4b81184943d68da631ef9ae882869842b5a6d32de990dd66472ca8fd952bf317e8dc56145fb2189f3a730cd683b1569fa468debef27060a168fbae
|
|
7
|
+
data.tar.gz: 5921d6ab37a10b5d5d9b91cdac0a4d008864b3d71a2a3c938bca2d16d4790b650c633c4a3a5e276eaf67b7d264985dd035755a0efb50e02481de6da4534b9801
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
If you use this gem with Ruby on Rails, I recommend you to write the code like this. This code also uses [grpc_server](https://github.com/
|
|
25
|
+
If you use this gem with Ruby on Rails, I recommend you to write the code like this. This code also uses [grpc_server](https://github.com/wantedly/grpc_server).
|
|
26
26
|
|
|
27
27
|
```ruby
|
|
28
28
|
# Initialization of rails here
|
|
@@ -71,7 +71,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
71
71
|
|
|
72
72
|
## Contributing
|
|
73
73
|
|
|
74
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
74
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/wantedly/reloader_interceptor. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/wantedly/reloader_interceptor/blob/master/CODE_OF_CONDUCT.md).
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
## License
|
|
@@ -80,4 +80,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
80
80
|
|
|
81
81
|
## Code of Conduct
|
|
82
82
|
|
|
83
|
-
Everyone interacting in the ReloaderInterceptor project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
|
83
|
+
Everyone interacting in the ReloaderInterceptor project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/wantedly/reloader_interceptor/blob/master/CODE_OF_CONDUCT.md).
|
|
@@ -58,13 +58,16 @@ module ReloaderInterceptor
|
|
|
58
58
|
Class.new(klass.superclass) do
|
|
59
59
|
extend Wrapper::DSL
|
|
60
60
|
|
|
61
|
-
# Define `.name
|
|
61
|
+
# Define `.name`, `.inspect`, and `.to_s` to mimic the original class.
|
|
62
62
|
self.define_singleton_method :name do
|
|
63
63
|
klass_name
|
|
64
64
|
end
|
|
65
65
|
self.define_singleton_method :inspect do
|
|
66
66
|
klass_name
|
|
67
67
|
end
|
|
68
|
+
self.define_singleton_method :to_s do
|
|
69
|
+
klass_name
|
|
70
|
+
end
|
|
68
71
|
|
|
69
72
|
def initialize(*options)
|
|
70
73
|
@options = options
|
|
@@ -8,12 +8,12 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
|
|
9
9
|
spec.summary = %q{A gRPC interceptor for using ActiveSupport::Reloader.}
|
|
10
10
|
spec.description = %q{A gRPC interceptor for using ActiveSupport::Reloader.}
|
|
11
|
-
spec.homepage = "https://github.com/
|
|
11
|
+
spec.homepage = "https://github.com/wantedly/reloader_interceptor"
|
|
12
12
|
spec.license = "MIT"
|
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
|
14
14
|
|
|
15
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
16
|
-
spec.metadata["source_code_uri"] = "https://github.com/
|
|
16
|
+
spec.metadata["source_code_uri"] = "https://github.com/wantedly/reloader_interceptor"
|
|
17
17
|
|
|
18
18
|
# Specify which files should be added to the gem when it is released.
|
|
19
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reloader_interceptor
|
|
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
|
- Nao Minami
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-02-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grpc
|
|
@@ -50,7 +50,6 @@ files:
|
|
|
50
50
|
- ".travis.yml"
|
|
51
51
|
- CODE_OF_CONDUCT.md
|
|
52
52
|
- Gemfile
|
|
53
|
-
- Gemfile.lock
|
|
54
53
|
- LICENSE.txt
|
|
55
54
|
- README.md
|
|
56
55
|
- Rakefile
|
|
@@ -61,12 +60,13 @@ files:
|
|
|
61
60
|
- lib/reloader_interceptor/version.rb
|
|
62
61
|
- lib/reloader_interceptor/wrapper.rb
|
|
63
62
|
- reloader_interceptor.gemspec
|
|
64
|
-
|
|
63
|
+
- renovate.json
|
|
64
|
+
homepage: https://github.com/wantedly/reloader_interceptor
|
|
65
65
|
licenses:
|
|
66
66
|
- MIT
|
|
67
67
|
metadata:
|
|
68
|
-
homepage_uri: https://github.com/
|
|
69
|
-
source_code_uri: https://github.com/
|
|
68
|
+
homepage_uri: https://github.com/wantedly/reloader_interceptor
|
|
69
|
+
source_code_uri: https://github.com/wantedly/reloader_interceptor
|
|
70
70
|
post_install_message:
|
|
71
71
|
rdoc_options: []
|
|
72
72
|
require_paths:
|
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
83
|
version: '0'
|
|
84
84
|
requirements: []
|
|
85
|
-
rubygems_version: 3.
|
|
85
|
+
rubygems_version: 3.2.32
|
|
86
86
|
signing_key:
|
|
87
87
|
specification_version: 4
|
|
88
88
|
summary: A gRPC interceptor for using ActiveSupport::Reloader.
|
data/Gemfile.lock
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
reloader_interceptor (0.0.2)
|
|
5
|
-
activesupport
|
|
6
|
-
grpc
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
activesupport (6.0.3.2)
|
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
13
|
-
i18n (>= 0.7, < 2)
|
|
14
|
-
minitest (~> 5.1)
|
|
15
|
-
tzinfo (~> 1.1)
|
|
16
|
-
zeitwerk (~> 2.2, >= 2.2.2)
|
|
17
|
-
coderay (1.1.3)
|
|
18
|
-
concurrent-ruby (1.1.7)
|
|
19
|
-
diff-lcs (1.4.4)
|
|
20
|
-
google-protobuf (3.13.0)
|
|
21
|
-
googleapis-common-protos-types (1.0.5)
|
|
22
|
-
google-protobuf (~> 3.11)
|
|
23
|
-
grpc (1.31.1)
|
|
24
|
-
google-protobuf (~> 3.12)
|
|
25
|
-
googleapis-common-protos-types (~> 1.0)
|
|
26
|
-
i18n (1.8.5)
|
|
27
|
-
concurrent-ruby (~> 1.0)
|
|
28
|
-
method_source (1.0.0)
|
|
29
|
-
minitest (5.14.2)
|
|
30
|
-
pry (0.13.1)
|
|
31
|
-
coderay (~> 1.1)
|
|
32
|
-
method_source (~> 1.0)
|
|
33
|
-
rake (12.3.3)
|
|
34
|
-
rspec (3.9.0)
|
|
35
|
-
rspec-core (~> 3.9.0)
|
|
36
|
-
rspec-expectations (~> 3.9.0)
|
|
37
|
-
rspec-mocks (~> 3.9.0)
|
|
38
|
-
rspec-core (3.9.2)
|
|
39
|
-
rspec-support (~> 3.9.3)
|
|
40
|
-
rspec-expectations (3.9.2)
|
|
41
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
|
-
rspec-support (~> 3.9.0)
|
|
43
|
-
rspec-mocks (3.9.1)
|
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
|
-
rspec-support (~> 3.9.0)
|
|
46
|
-
rspec-support (3.9.3)
|
|
47
|
-
thread_safe (0.3.6)
|
|
48
|
-
tzinfo (1.2.7)
|
|
49
|
-
thread_safe (~> 0.1)
|
|
50
|
-
zeitwerk (2.4.0)
|
|
51
|
-
|
|
52
|
-
PLATFORMS
|
|
53
|
-
ruby
|
|
54
|
-
|
|
55
|
-
DEPENDENCIES
|
|
56
|
-
pry
|
|
57
|
-
rake (~> 12.0)
|
|
58
|
-
reloader_interceptor!
|
|
59
|
-
rspec (~> 3.0)
|
|
60
|
-
|
|
61
|
-
BUNDLED WITH
|
|
62
|
-
2.1.4
|