rangrok 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rangrok/railtie.rb +4 -0
- data/lib/rangrok/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad5c1622b71392bb8cac7c1d1fcb0666b6fad9999fab6c65236c7065e103cf23
|
4
|
+
data.tar.gz: 8834b784ac76c78042da7080954680deac123a022bb0130f6b5a73c193a0038e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 496608e4a7c80655ef4d84c753b8e4f1cd57b0e7d966f81f8cfdeb692fdae23c4daa13e9d088dc9481555dcd29c6337a4e7d3bc64eb61c93d69fcf7dc126fdf5
|
7
|
+
data.tar.gz: b1930caabb1900e5eae6064ab87193777546615cc0e0a81691a075c251279b0a8826486ebe9a7e62e5361678d48b891ca82cfe06aa73b4488fa27cf2717f07cd
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Rangrok
|
2
2
|
[![CircleCI](https://circleci.com/gh/haruelico/rangrok/tree/master.svg?style=svg)](https://circleci.com/gh/haruelico/rangrok/tree/master)
|
3
3
|
|
4
|
-
Add `.ngrok.io` , `.localtunnel.me`, and `.
|
4
|
+
Add `.ngrok.io` , `.localtunnel.me`, `.serveo.net`, and `.tunnelto.dev` 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
@@ -11,5 +11,9 @@ module Rangrok
|
|
11
11
|
initializer 'rangrok_add_serveo_to_allowed_hosts' do
|
12
12
|
Rails.application.config.hosts << ".serveo.net" if Rails.env.development?
|
13
13
|
end
|
14
|
+
|
15
|
+
initializer 'rangrok_add_tunnelto_to_allowed_hosts' do
|
16
|
+
Rails.application.config.hosts << ".tunnelto.dev" if Rails.env.development?
|
17
|
+
end
|
14
18
|
end
|
15
19
|
end
|
data/lib/rangrok/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rangrok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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:
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 6.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 6.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
74
|
+
rubygems_version: 3.1.2
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Add '.ngrok.io' to Rails.application.config.hosts in development environment.
|