sockit 1.0.4 → 1.0.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: 95fb9e0226c66eb6ea7d97c4ddb344efa45b346f
4
- data.tar.gz: 599eb639c88f1e37248b7980de9e6f6a55ad7f9e
3
+ metadata.gz: 907c5d4706db600ca4dec35e5c2aeb5211763a97
4
+ data.tar.gz: 9afa39561d67dd87fcfb2eeeba8fd1115a09502a
5
5
  SHA512:
6
- metadata.gz: 74dd976ccd30f37d96ee7d4db993813745cbe4f1d7ecc5561754bbd7740980829d81e7b185ba1d0f9dade54ae028600f05c9c25feac96a7aa98ffb07680cee8d
7
- data.tar.gz: e288cf8de4fff0e54e9aaa3b567fa3dd4a2adc7caeec4a2bf89e21912d2b4fef92ef5d30cb65a3ea7dcbaa4420ee6172dffb072d20d0d4108e1783a7a116b60a
6
+ metadata.gz: b7417a68988c366b894954f9878c7fed9f24625589d59b9b1c0ab2e1033d41fd85d495c02316a86b8fe149a95f51b0679e063fca195b9c3bdeb77f9f94dc850e
7
+ data.tar.gz: f6916250ecdb190427463a2be6b49c0ac584a3762bae1ba24222ebfaa6a7e171ae1059be8c5230eae8429bcde22b823105ae5ee06f18e2e9a96cc6c9d484ce1b
data/.gitignore CHANGED
@@ -16,3 +16,4 @@ spec/reports
16
16
  test/tmp
17
17
  test/version_tmp
18
18
  tmp
19
+ vendor
data/README.md CHANGED
@@ -89,6 +89,14 @@ I await your pull request.
89
89
 
90
90
  # RESOURCES
91
91
 
92
+ IRC:
93
+
94
+ * #jovelabs on irc.freenode.net
95
+
96
+ Documentation:
97
+
98
+ * http://zpatten.github.io/sockit/
99
+
92
100
  Source:
93
101
 
94
102
  * https://github.com/zpatten/sockit
@@ -97,10 +105,6 @@ Issues:
97
105
 
98
106
  * https://github.com/zpatten/sockit/issues
99
107
 
100
- Documentation:
101
-
102
- * http://zpatten.github.com/sockit/
103
-
104
108
  # LICENSE
105
109
 
106
110
  SOCKIT - Transparent SOCKS 5 support for TCPSocket
data/Rakefile CHANGED
@@ -18,65 +18,24 @@
18
18
  #
19
19
  ################################################################################
20
20
 
21
- require 'bundler/gem_tasks'
21
+ require 'rake/clean'
22
22
 
23
- ################################################################################
23
+ require 'bundler/gem_tasks'
24
24
 
25
25
  require 'rspec/core/rake_task'
26
- RSpec::Core::RakeTask.new(:spec)
27
- task :default => :spec
28
- task :test => :spec
29
-
30
- ################################################################################
31
-
32
- desc "Run RSpec with code coverage"
33
- task :coverage do
34
- `rake spec COVERAGE=true`
35
- case RUBY_PLATFORM
36
- when /darwin/
37
- `open coverage/index.html`
38
- when /linux/
39
- `google-chrome coverage/index.html`
40
- end
26
+ RSpec::Core::RakeTask.new(:spec) do |t|
27
+ t.rspec_opts = %w(--format JUnit --out vendor/reports/junit/test-results.xml --format html --out vendor/reports/html/test-results.html --format documentation)
41
28
  end
42
29
 
43
- ################################################################################
44
-
45
- require 'yard'
46
- require 'yard/rake/yardoc_task'
30
+ require 'coveralls/rake/task'
31
+ Coveralls::RakeTask.new
47
32
 
48
- GEM_NAME = File.basename(Dir.pwd)
49
- DOC_PATH = File.expand_path(File.join("..", "/", "#{GEM_NAME}.doc"))
33
+ require 'ztk/rake/docs'
50
34
 
51
- namespace :doc do
52
- YARD::Rake::YardocTask.new(:pages) do |t|
53
-
54
- # t.files = ['lib/**/*.rb']
55
- t.options = ['--verbose', '-o', DOC_PATH]
56
- end
57
-
58
- namespace :pages do
59
-
60
- desc 'Generate and publish YARD Documentation to GitHub pages'
61
- task :publish => ['doc:pages'] do
62
- describe = %x(git describe).chomp
63
- stats = %x(bundle exec yard stats).chomp
64
-
65
- commit_message = Array.new
66
- commit_message << "Generated YARD Documentation for #{GEM_NAME.upcase} #{describe}\n\n"
67
- commit_message << stats
68
-
69
- Dir.chdir(DOC_PATH) do
70
- puts(%x{git add -Av})
71
- puts(%x{git commit -m"#{commit_message.join}"})
72
- puts(%x{git push origin gh-pages})
73
- end
74
- end
75
-
76
- end
35
+ ################################################################################
77
36
 
78
- end
79
- desc 'Alias to doc:yard'
80
- task 'doc' => 'doc:yard'
37
+ task :coveralls => [:spec, 'coveralls:push']
38
+ task :default => [:spec]
39
+ task :test => [:spec]
81
40
 
82
41
  ################################################################################
@@ -21,7 +21,7 @@
21
21
  module Sockit
22
22
 
23
23
  unless const_defined?(:VERSION)
24
- VERSION = "1.0.4"
24
+ VERSION = "1.0.5"
25
25
  end
26
26
 
27
27
  end
data/sockit.gemspec CHANGED
@@ -46,7 +46,7 @@ Gem::Specification.new do |spec|
46
46
  spec.add_development_dependency("coveralls")
47
47
  spec.add_development_dependency("yarjuf")
48
48
  spec.add_development_dependency("simplecov-rcov")
49
-
50
49
  spec.add_development_dependency("travis")
51
50
  spec.add_development_dependency("websocket-native")
51
+ spec.add_development_dependency("ztk")
52
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sockit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Patten
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: ztk
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  description: Seamlessly route all TCP traffic for you application through a SOCKS
154
168
  v4 or v5 server with nearly zero effort. Once required and configured all traffic
155
169
  leveraging the TCPSocket class will route via your configured SOCKS server.