rangrok 0.1.0 → 0.2.0
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/README.md +1 -1
- data/lib/rangrok/railtie.rb +8 -0
- data/lib/rangrok/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a4ec17c89429bd018d3ef00421e59c7fc743111d7aa00a9fe4b47f229759289
|
4
|
+
data.tar.gz: e69cca52f04d5b71564bc105033261ff127fa193dbf8f0d17f123e02384e9792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58df2700b97e40a5aeb9c3e803bd5edc7eb666119c7064234141ad6bfc99983d092031ef85c398c3b962668248c84f6913dac71a71f60946fcc3a01216974957
|
7
|
+
data.tar.gz: 59ec30ec033f116b1c4460cb41fa1129ef43490f1c76499d7e64fe634adeeeeb86265e72a0a3f92ce2b1ece313d54b6596e833dc7f97e5e24d71e3afa4a9f7e4
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Rangrok
|
2
2
|
[](https://circleci.com/gh/haruelico/rangrok/tree/master)
|
3
3
|
|
4
|
-
Add `.ngrok.io` to `Rails.application.config.hosts` in development environment.
|
4
|
+
Add `.ngrok.io` , `.localtunnel.me`, and `.serveo.net` to `Rails.application.config.hosts` in development environment.
|
5
5
|
|
6
6
|
(Naming is __Ra__ ils and ngrok.)
|
7
7
|
|
data/lib/rangrok/railtie.rb
CHANGED
@@ -3,5 +3,13 @@ module Rangrok
|
|
3
3
|
initializer 'rangrok_add_ngrok_to_allowed_hosts' do
|
4
4
|
Rails.application.config.hosts << ".ngrok.io" if Rails.env.development?
|
5
5
|
end
|
6
|
+
|
7
|
+
initializer 'rangrok_add_localtunnel_to_allowed_hosts' do
|
8
|
+
Rails.application.config.hosts << ".localtunnel.me" if Rails.env.development?
|
9
|
+
end
|
10
|
+
|
11
|
+
initializer 'rangrok_add_serveo_to_allowed_hosts' do
|
12
|
+
Rails.application.config.hosts << ".serveo.net" if Rails.env.development?
|
13
|
+
end
|
6
14
|
end
|
7
15
|
end
|
data/lib/rangrok/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rangrok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lico Harue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|