forward 1.1.4 → 1.1.5

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
2
  SHA1:
3
- metadata.gz: d7d179fd04456e306a54c635d267ddc2dacdf171
4
- data.tar.gz: b4835ab1322a22642d45f852e1d3adafd02c1139
3
+ metadata.gz: ce17a30f39af38dcac58d02cedd60c89af8d5fc5
4
+ data.tar.gz: adb753c96989a3f63b2489f7a17da38445324086
5
5
  SHA512:
6
- metadata.gz: c9e3518b44256756208b53996026f3d0d0bb6ba7cf41397d886ba6740b3d01b0516aabac3df6a70c9fadbf9fb1ffdf43f05ce1ba6eb73e937affd2bbb734ef73
7
- data.tar.gz: 8aa60643e32525f356f809c5106622f00df125786afd96311a843284a059e35da7d6e3e443f9776b666c3bcd62bc99a8a46e62f7d797b1c8f22522cd616e317c
6
+ metadata.gz: a17e647fe02942663594d19ae91a4721868ba0d399d26c70162d2dac4447d5afb25d4bbef25213a5ca30d311fb602d0c6beb9b03f10ea8ad56040912c2681c6f
7
+ data.tar.gz: 03b4fe5c89556a880a7dc4554f791064aedb3b9941c93142c929161822e711617fa4a39b1a0cdd2ea5beae48da8160181360e389da3d0ffa7b667f7b86210fb4
@@ -18,10 +18,10 @@ Gem::Specification.new do |gem|
18
18
  gem.add_dependency 'slop', '~> 3.6'
19
19
  gem.add_dependency 'json', '~> 1.8.3'
20
20
  gem.add_dependency 'highline', '~> 1.7.8'
21
- gem.add_dependency 'eventmachine', '~> 1.0.7'
22
- gem.add_dependency 'thin', '~> 1.6.4'
21
+ gem.add_dependency 'eventmachine', '~> 1.2.0.1'
22
+ gem.add_dependency 'thin', '~> 1.7.0'
23
23
  gem.add_dependency 'em-http-request', '~> 1.1.3'
24
- gem.add_dependency 'faye-websocket', '~> 0.10.2'
24
+ gem.add_dependency 'faye-websocket', '~> 0.10.4'
25
25
  gem.add_dependency 'clipboard', '~> 1.0.6'
26
26
 
27
27
  gem.add_development_dependency 'rake', '~> 10.3'
@@ -7,7 +7,7 @@ module Forward
7
7
  STATIC_HOST = '127.0.0.1'.freeze
8
8
  STATIC_PORT = 32645.freeze
9
9
  DEFAULT_OPTIONS = {
10
- host: '127.0.0.1',
10
+ host: 'localhost',
11
11
  port: 80
12
12
  }
13
13
 
@@ -131,11 +131,11 @@ module Forward
131
131
  end
132
132
  end
133
133
 
134
- def validate_auth
134
+ def validate_auth
135
135
  auth = @options[:auth]
136
-
136
+
137
137
  return if auth.nil?
138
-
138
+
139
139
  logger.debug "[CLI] validating auth: `#{auth}'"
140
140
  if auth =~ BASIC_AUTH_REGEX
141
141
  @options[:username], @options[:password] = @options[:auth].split(':')
@@ -148,11 +148,11 @@ module Forward
148
148
  # error message if it isn't.
149
149
  #
150
150
  # cname - cname String
151
- def validate_cname
151
+ def validate_cname
152
152
  cname = @options[:cname]
153
-
153
+
154
154
  return if cname.nil?
155
-
155
+
156
156
  logger.debug "[CLI] validating CNAME: `#{cname}'"
157
157
  unless cname =~ CNAME_REGEX
158
158
  raise CLIError, "`#{cname}' is an invalid domain format"
@@ -38,7 +38,8 @@ module Forward
38
38
  body: (body.empty? ? nil : body),
39
39
  head: headers
40
40
  }
41
-
41
+
42
+ logger.debug "[request] #{method} #{url}#{path} #{options.inspect}"
42
43
  puts "[#{Time.now.strftime('%H:%M:%S')}] [#{method}] #{path}" unless Forward.quiet?
43
44
 
44
45
  http = EM::HttpRequest.new(url).send(method.downcase, options)
@@ -3,9 +3,7 @@
3
3
  <head>
4
4
  <title>Directory Listing: <%= @project_name%><%= @path_info %></title>
5
5
  <meta http-equiv="content-kind" content="text/html; charset=utf-8">
6
- <link rel="stylesheet" href="https://assets.50east.co/v1.0/css/mark.css">
7
- <link rel="stylesheet" href="https://assets.50east.co/v1.0/css/picons.css">
8
- <link rel="stylesheet" href="https://assets.50east.co/v1.0/css/core.css">
6
+ <link rel="stylesheet" href="https://forwardhq.com/assets/core.css">
9
7
  <style kind="text/css">
10
8
  h1 {
11
9
  padding-left: 3rem;
@@ -129,7 +127,16 @@
129
127
  </p>
130
128
  </footer>
131
129
  </div>
132
- <script src="https://assets.50east.co/v1.0/js/core.js"></script>
130
+ <script>
131
+ WebFontConfig = window.WebFontConfig || {
132
+ custom: {
133
+ families: ['Mark:n2,n4,i4,n3,n7,n8', 'Picons-Font']
134
+ }
135
+ };
136
+ </script>
137
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
138
+ <script src="https://forwardhq.com/assets/fonts.js"></script>
139
+ <script src="https://forwardhq.com/assets/core.js"></script>
133
140
  <script>
134
141
  $('td.name').each(function(){
135
142
  var filename = $.trim($(this).text());
@@ -1,3 +1,3 @@
1
1
  module Forward
2
- VERSION = '1.1.4'
2
+ VERSION = '1.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forward
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Dunn
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-28 00:00:00.000000000 Z
12
+ date: 2016-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slop
@@ -59,28 +59,28 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 1.0.7
62
+ version: 1.2.0.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 1.0.7
69
+ version: 1.2.0.1
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: thin
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 1.6.4
76
+ version: 1.7.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 1.6.4
83
+ version: 1.7.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: em-http-request
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -101,14 +101,14 @@ dependencies:
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: 0.10.2
104
+ version: 0.10.4
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: 0.10.2
111
+ version: 0.10.4
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: clipboard
114
114
  requirement: !ruby/object:Gem::Requirement