shadowsocks_ruby 0.1.1 → 0.1.2

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: 127f383fcb9b1c8ebb3147efeb46a85a106d91e3
4
- data.tar.gz: ee48663ca80918a7fddf7577a2c54855fecd1c24
3
+ metadata.gz: ec9ceef5b5591983d418f3acd66e6dff5925d358
4
+ data.tar.gz: f0c2e3a3e1ac4270b69851d5ad40ddbb34c3b1c3
5
5
  SHA512:
6
- metadata.gz: a6fa2cc3b0c1eb02a7185273b93093e1b4dc38fd69b1be91bcebc21de11c5c1e800017e4ecb0d2e40bf0defd7e13be6bda2bc3102e73d0f9e7c83ae4638a4753
7
- data.tar.gz: b327c08e182c7bbf3942219225cdb8e6ed0a8dbc8e3f109cebc402d529b059f649854929b0686d1de447e07b92a300f52fc45f16f657009ada59dc2f92d79df7
6
+ metadata.gz: 132d55559c2499708e57e0d44a6e6bb0cb55846940fd1120101f6858b86db19352c0eb361b12379cda722338a7a01a6a22776c5ee08403c76340fedc1b000b07
7
+ data.tar.gz: 3c0f13f51bbcdd1853c3bc9c96656704a99173956f447fb57930a6725917e2c95ad523c8bc76fdd070a1d210a39772d3016c60bc58b13afcdc4b0bcff73f9758
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.yardopts CHANGED
@@ -2,4 +2,5 @@
2
2
 
3
3
  -
4
4
  LICENSE.txt
5
+ CHANGELOG.md
5
6
  CODE_OF_CONDUCT.md
@@ -0,0 +1,17 @@
1
+ 0.1.2 (Febrary 15, 2017)
2
+ ----------------------
3
+
4
+ * Fix: cucumber acceptance test.
5
+ * Update: dependency in ruby, gemspec.
6
+ * Add: Docker release.
7
+
8
+ 0.1.1 (Febrary 11, 2017)
9
+ ----------------------
10
+
11
+ * Fix: libsodium dependency.
12
+ * Fix: RSpec integration test.
13
+
14
+ 0.1.0 (Febrary 10, 2017)
15
+ ------------------------
16
+
17
+ * Initial public release.
data/Dockerfile CHANGED
@@ -1,6 +1,12 @@
1
1
  FROM ruby:2.4
2
- MAINTAINER Zhen Kyle <https://github.com/zhenkyle>
2
+ LABEL maintainer "https://github.com/zhenkyle"
3
3
 
4
- RUN gem install shadowsocks_ruby
4
+ EXPOSE 1080 8388
5
5
 
6
- CMD ["ssserver-ruby", "-h"]
6
+ COPY . /usr/src/app
7
+ WORKDIR /usr/src/app
8
+ RUN bundle install --without development
9
+ RUN gem build shadowsocks_ruby.gemspec
10
+ RUN gem install shadowsocks_ruby*.gem -l
11
+
12
+ CMD ["ssserver-ruby", "-h"]
data/Gemfile CHANGED
@@ -5,8 +5,9 @@ git_source(:github) do |repo_name|
5
5
  "https://github.com/#{repo_name}.git"
6
6
  end
7
7
 
8
- gem 'evented-spec', github: 'ruby-amqp/evented-spec'
9
-
10
- gem 'coveralls', require: false
8
+ group :development do
9
+ gem 'evented-spec', github: 'ruby-amqp/evented-spec'
10
+ gem 'coveralls', require: false
11
+ end
11
12
  # Specify your gem's dependencies in shadowsocks_ruby.gemspec
12
13
  gemspec
data/README.md CHANGED
@@ -8,12 +8,12 @@
8
8
  [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/zhenkyle/shadowsocks_ruby/blob/master/LICENSE.txt)
9
9
  [![Join the chat at https://gitter.im/shadowsocks_ruby/Lobby](https://badges.gitter.im/shadowsocks_ruby/Lobby.svg)](https://gitter.im/shadowsocks_ruby/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
10
10
 
11
- ShadowsocksRuby is a flexible platform for writing [shadowsocks](https://github.com/shadowsocks/shadowsocks) like tunnel proxy to help you bypass firewalls. With layered protocol strategy, TCP/UDP/(even TLS) connection object and powerful DSL backended by ruby, it make your life easy to develop new tunnel (layer 4) protocols.
11
+ ShadowsocksRuby is a SOCKS (layer 4) like tunnel proxy to help you bypass firewalls, and also a flexible platform for writing your own tunnel protocols. With layered protocol strategy, TCP/UDP/(even TLS) connection object and powerful DSL backended by ruby, it make your life easy to develop new tunnel (layer 4) protocols.
12
12
 
13
13
  Main features include:
14
14
 
15
15
  * **Popular event-driven I/O model:** utilize very little resource but provding extremely high scalability, performance and stability
16
- * **Vanilla shadowsocks protocol support:** comes with shadowsocks's original version and OTA version protocol support and [shadowsocksr](https://github.com/shadowsocksr/shadowsocksr) 's "http_simple" and "tls_ticket" obfuscation protocol support
16
+ * **Vanilla shadowsocks protocol support:** comes with [shadowsocks](https://github.com/shadowsocks/shadowsocks) 's original version and OTA version protocol support and [shadowsocksr](https://github.com/shadowsocksr/shadowsocksr) 's "http_simple" and "tls_ticket" obfuscation protocol support
17
17
  * **Cipher method support:** all known shadowsocks cipher method, including `table` and `chacha20`
18
18
  * **Parallel execution support:** support multi workers by using [Einhorn](https://github.com/stripe/einhorn) socket manager to enable parallelism on multi-core CPU, and extra drb server to exchange data within workers
19
19
  * **Easy develop your own protocol:** see "Example SOCKS4 Client Proxy in 35 lines"
data/Rakefile CHANGED
@@ -11,4 +11,4 @@ end
11
11
 
12
12
  YARD::Rake::YardocTask.new
13
13
 
14
- task :default => :spec
14
+ task :default => [:spec, :features]
@@ -1,3 +1,3 @@
1
1
  module ShadowsocksRuby
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.author = "zhenkyle"
10
10
  spec.email = "zhenkyle@gmail.com"
11
11
 
12
- spec.summary = %q{A flexible platform for writing tunnel proxy to help you bypass firewalls.}
13
- spec.description = %q{ShadowsocksRuby is a flexible platform for writing SOCKS (layer 4) like tunnel proxy to help you bypass firewalls.}
12
+ spec.summary = %q{A SOCKS (layer 4) like tunnel proxy to help you bypass firewalls.}
13
+ spec.description = %q{ShadowsocksRuby is a SOCKS (layer 4) like tunnel proxy to help you bypass firewalls.}
14
14
  spec.homepage = "https://github.com/zhenkyle/shadowsocks_ruby"
15
15
  spec.license = "MIT"
16
16
 
@@ -35,14 +35,14 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency "rake", "~> 12.0"
36
36
  spec.add_development_dependency "rspec", "~> 3.0"
37
37
  spec.add_development_dependency "evented-spec", "~> 1.0.0.beta2"
38
- spec.add_development_dependency "em-http-request", "~> 1.1.5"
39
- spec.add_development_dependency('aruba', '~> 0.14.2')
40
- spec.add_development_dependency('yard', '~> 0.9.8')
38
+ spec.add_development_dependency "em-http-request", "~> 1.1", ">= 1.1.5"
39
+ spec.add_development_dependency('aruba', '~> 0.14', ">= 0.14.2")
40
+ spec.add_development_dependency('yard', '~> 0.9', ">= 0.9.8")
41
41
 
42
- spec.add_runtime_dependency "eventmachine", "~> 1.2.1"
43
- spec.add_runtime_dependency "rbnacl-libsodium", "~> 1.0.11"
44
- spec.add_runtime_dependency "openssl", "~> 2.0.2"
45
- spec.add_runtime_dependency "lrucache", "~> 0.1.4"
46
- spec.add_runtime_dependency "to_camel_case", "~>1.0.0"
42
+ spec.add_runtime_dependency "eventmachine", "~> 1.2", ">= 1.2.1"
43
+ spec.add_runtime_dependency "rbnacl-libsodium", "~> 1.0", ">= 1.0.11"
44
+ spec.add_runtime_dependency "openssl", "~> 2.0", ">= 2.0.2"
45
+ spec.add_runtime_dependency "lrucache", "~> 0.1", ">= 0.1.4"
46
+ spec.add_runtime_dependency "to_camel_case", "~>1.0", ">= 1.0.0"
47
47
  spec.add_runtime_dependency 'einhorn'
48
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shadowsocks_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhenkyle
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-11 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -71,6 +71,9 @@ dependencies:
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.1'
76
+ - - ">="
74
77
  - !ruby/object:Gem::Version
75
78
  version: 1.1.5
76
79
  type: :development
@@ -78,6 +81,9 @@ dependencies:
78
81
  version_requirements: !ruby/object:Gem::Requirement
79
82
  requirements:
80
83
  - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '1.1'
86
+ - - ">="
81
87
  - !ruby/object:Gem::Version
82
88
  version: 1.1.5
83
89
  - !ruby/object:Gem::Dependency
@@ -85,6 +91,9 @@ dependencies:
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
93
  - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.14'
96
+ - - ">="
88
97
  - !ruby/object:Gem::Version
89
98
  version: 0.14.2
90
99
  type: :development
@@ -92,6 +101,9 @@ dependencies:
92
101
  version_requirements: !ruby/object:Gem::Requirement
93
102
  requirements:
94
103
  - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '0.14'
106
+ - - ">="
95
107
  - !ruby/object:Gem::Version
96
108
  version: 0.14.2
97
109
  - !ruby/object:Gem::Dependency
@@ -99,6 +111,9 @@ dependencies:
99
111
  requirement: !ruby/object:Gem::Requirement
100
112
  requirements:
101
113
  - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '0.9'
116
+ - - ">="
102
117
  - !ruby/object:Gem::Version
103
118
  version: 0.9.8
104
119
  type: :development
@@ -106,6 +121,9 @@ dependencies:
106
121
  version_requirements: !ruby/object:Gem::Requirement
107
122
  requirements:
108
123
  - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '0.9'
126
+ - - ">="
109
127
  - !ruby/object:Gem::Version
110
128
  version: 0.9.8
111
129
  - !ruby/object:Gem::Dependency
@@ -113,6 +131,9 @@ dependencies:
113
131
  requirement: !ruby/object:Gem::Requirement
114
132
  requirements:
115
133
  - - "~>"
134
+ - !ruby/object:Gem::Version
135
+ version: '1.2'
136
+ - - ">="
116
137
  - !ruby/object:Gem::Version
117
138
  version: 1.2.1
118
139
  type: :runtime
@@ -120,6 +141,9 @@ dependencies:
120
141
  version_requirements: !ruby/object:Gem::Requirement
121
142
  requirements:
122
143
  - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.2'
146
+ - - ">="
123
147
  - !ruby/object:Gem::Version
124
148
  version: 1.2.1
125
149
  - !ruby/object:Gem::Dependency
@@ -127,6 +151,9 @@ dependencies:
127
151
  requirement: !ruby/object:Gem::Requirement
128
152
  requirements:
129
153
  - - "~>"
154
+ - !ruby/object:Gem::Version
155
+ version: '1.0'
156
+ - - ">="
130
157
  - !ruby/object:Gem::Version
131
158
  version: 1.0.11
132
159
  type: :runtime
@@ -134,6 +161,9 @@ dependencies:
134
161
  version_requirements: !ruby/object:Gem::Requirement
135
162
  requirements:
136
163
  - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: '1.0'
166
+ - - ">="
137
167
  - !ruby/object:Gem::Version
138
168
  version: 1.0.11
139
169
  - !ruby/object:Gem::Dependency
@@ -141,6 +171,9 @@ dependencies:
141
171
  requirement: !ruby/object:Gem::Requirement
142
172
  requirements:
143
173
  - - "~>"
174
+ - !ruby/object:Gem::Version
175
+ version: '2.0'
176
+ - - ">="
144
177
  - !ruby/object:Gem::Version
145
178
  version: 2.0.2
146
179
  type: :runtime
@@ -148,6 +181,9 @@ dependencies:
148
181
  version_requirements: !ruby/object:Gem::Requirement
149
182
  requirements:
150
183
  - - "~>"
184
+ - !ruby/object:Gem::Version
185
+ version: '2.0'
186
+ - - ">="
151
187
  - !ruby/object:Gem::Version
152
188
  version: 2.0.2
153
189
  - !ruby/object:Gem::Dependency
@@ -155,6 +191,9 @@ dependencies:
155
191
  requirement: !ruby/object:Gem::Requirement
156
192
  requirements:
157
193
  - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '0.1'
196
+ - - ">="
158
197
  - !ruby/object:Gem::Version
159
198
  version: 0.1.4
160
199
  type: :runtime
@@ -162,6 +201,9 @@ dependencies:
162
201
  version_requirements: !ruby/object:Gem::Requirement
163
202
  requirements:
164
203
  - - "~>"
204
+ - !ruby/object:Gem::Version
205
+ version: '0.1'
206
+ - - ">="
165
207
  - !ruby/object:Gem::Version
166
208
  version: 0.1.4
167
209
  - !ruby/object:Gem::Dependency
@@ -169,6 +211,9 @@ dependencies:
169
211
  requirement: !ruby/object:Gem::Requirement
170
212
  requirements:
171
213
  - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '1.0'
216
+ - - ">="
172
217
  - !ruby/object:Gem::Version
173
218
  version: 1.0.0
174
219
  type: :runtime
@@ -176,6 +221,9 @@ dependencies:
176
221
  version_requirements: !ruby/object:Gem::Requirement
177
222
  requirements:
178
223
  - - "~>"
224
+ - !ruby/object:Gem::Version
225
+ version: '1.0'
226
+ - - ">="
179
227
  - !ruby/object:Gem::Version
180
228
  version: 1.0.0
181
229
  - !ruby/object:Gem::Dependency
@@ -192,8 +240,8 @@ dependencies:
192
240
  - - ">="
193
241
  - !ruby/object:Gem::Version
194
242
  version: '0'
195
- description: ShadowsocksRuby is a flexible platform for writing SOCKS (layer 4) like
196
- tunnel proxy to help you bypass firewalls.
243
+ description: ShadowsocksRuby is a SOCKS (layer 4) like tunnel proxy to help you bypass
244
+ firewalls.
197
245
  email: zhenkyle@gmail.com
198
246
  executables:
199
247
  - sslocal-ruby
@@ -202,10 +250,12 @@ extensions: []
202
250
  extra_rdoc_files: []
203
251
  files:
204
252
  - ".coveralls.yml"
253
+ - ".dockerignore"
205
254
  - ".gitignore"
206
255
  - ".rspec"
207
256
  - ".travis.yml"
208
257
  - ".yardopts"
258
+ - CHANGELOG.md
209
259
  - CODE_OF_CONDUCT.md
210
260
  - Dockerfile
211
261
  - Gemfile
@@ -288,5 +338,5 @@ rubyforge_project:
288
338
  rubygems_version: 2.6.8
289
339
  signing_key:
290
340
  specification_version: 4
291
- summary: A flexible platform for writing tunnel proxy to help you bypass firewalls.
341
+ summary: A SOCKS (layer 4) like tunnel proxy to help you bypass firewalls.
292
342
  test_files: []