xipio 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8379aa1e777634d2566586c30b2a7a02e5efcdc2
4
- data.tar.gz: a36be7d0e61cc8144b16cd51dfd28f0f6448339e
2
+ SHA256:
3
+ metadata.gz: 47ce3ba236bae0980ce20e28bf8d1c304ad07ec692e0e527803cfa3fa31021ad
4
+ data.tar.gz: a5997c2c49d6e076d4c37e58b75083e99b9f5658bd8ec0ddfefb2834f1f193a1
5
5
  SHA512:
6
- metadata.gz: a81413d46aad0d81dc83d6853b83833a5ca96f1ddf05480e12619829ce4de074a063cd6ba4fa076f6692ab23ad7db49dd2c39c833e7c1a5e7fe4dc991702eac3
7
- data.tar.gz: f5579a34e6b6c5c6f03013490807756068e4d5009e1d4a4c69526835fbc410ae14028a39b779ae43cacc96692ffde5703cf21c96734749413ad05ad628ccbc5d
6
+ metadata.gz: 1fab5c7061c44d48d0f22d1d3b57be301783da974b8dae679ec296e49b4c418a964ab3503e1c7abbd681fca07cca3ab4b1ad4a2f36d86a78d2042692ffea6287
7
+ data.tar.gz: 428b86b8b5274309dc7baf371b1fcb2a3b8d793b19388b4e4a92c87f3e9da0d2a851a6e1306289e7495b10e9961c430a6f6bac0e8308978bc8fdda362596ba3a
data/README.md CHANGED
@@ -29,3 +29,7 @@ That's it! There's nothing to configure. It just works out of the box.
29
29
  ### License
30
30
 
31
31
  MIT License. Copyright 2013 Philipe Fatio
32
+
33
+
34
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/fphilipe/xipio/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
35
+
@@ -5,7 +5,7 @@ module Xipio
5
5
  end
6
6
 
7
7
  def call(env)
8
- tld_length = env['HTTP_HOST'].end_with?('.xip.io') ? 6 : 1
8
+ tld_length = env['HTTP_HOST'].match?(/\.xip\.io(:\d{1,5})?\z/) ? 6 : 1
9
9
  ActionDispatch::Http::URL.tld_length = tld_length
10
10
  @app.call(env)
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Xipio
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xipio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipe Fatio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-15 00:00:00.000000000 Z
11
+ date: 2018-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
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: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: railties
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3'
55
55
  description: |
@@ -64,7 +64,7 @@ executables: []
64
64
  extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
- - .gitignore
67
+ - ".gitignore"
68
68
  - Gemfile
69
69
  - LICENSE.txt
70
70
  - README.md
@@ -84,17 +84,17 @@ require_paths:
84
84
  - lib
85
85
  required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - '>='
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.0.2
97
+ rubygems_version: 2.7.3
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Add xip.io support to your rails app in development mode.