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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45b26f09786ea77872a80fcc2db7ced539786dac8ee362de5fb3a038692c3ca8
4
- data.tar.gz: a9920a404725dc0806c8e4a5173d8433003399dc11187b84d95faadcaa2fa5f8
3
+ metadata.gz: 1a4ec17c89429bd018d3ef00421e59c7fc743111d7aa00a9fe4b47f229759289
4
+ data.tar.gz: e69cca52f04d5b71564bc105033261ff127fa193dbf8f0d17f123e02384e9792
5
5
  SHA512:
6
- metadata.gz: d851be010736ccc1b08bdcd18e565563c5e974ed820c70f8160b562185c7cc2971953f75de1e76616affce8c46f1e2b84932755a45987cc18780fe5742b26fc5
7
- data.tar.gz: 7d14f92eadc41842cba12924a84473affc5e9066192d00a50ba509e2a0a0bde403a0637f032a6774673300c3bc590483402697b645707c332c9eb2ae59e8e654
6
+ metadata.gz: 58df2700b97e40a5aeb9c3e803bd5edc7eb666119c7064234141ad6bfc99983d092031ef85c398c3b962668248c84f6913dac71a71f60946fcc3a01216974957
7
+ data.tar.gz: 59ec30ec033f116b1c4460cb41fa1129ef43490f1c76499d7e64fe634adeeeeb86265e72a0a3f92ce2b1ece313d54b6596e833dc7f97e5e24d71e3afa4a9f7e4
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` 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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Rangrok
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
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.1.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-16 00:00:00.000000000 Z
11
+ date: 2019-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails