minecraft-protocol 0.0.1.pre.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ Zjk2YmZhN2M5YzcyMDljN2M2YjUyMTg1MDIyNDFkMTQwZDJmMDNlNQ==
5
+ data.tar.gz: !binary |-
6
+ MTdlOTBiNThhMmQzNzdhNGIxZmMyMzBkYTdhNjNhMDRmZjNiODkyOA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjZmYzVjZmRhMjdhYmMxYTZlZmU3OTQ4YmE1ZjI1ZGVmNjc5ZGMyMDgzZjNj
10
+ OTI3NzQzOGY0YWNkOTJiZDg5NmNkNjY3YjM2OTRiM2ZkNmYwMmU0ZTEyYmQx
11
+ YzNiMGQ1N2ZjM2EyOTViNmYxYzM0NGM5YWNiYWI4ZjQ2MmJkNTI=
12
+ data.tar.gz: !binary |-
13
+ NzE0YTMyZDdlZmNhY2Q1M2JjYzI1YzcwZDJiMTAzOGYwYmEyZmU3ZWQ3NmY4
14
+ NzQ3ZTVkZTBhOTFlZmQyNWE2MjkzMjZhZjE2Zjk3MmI2OTljYmZmODQ3ZTVj
15
+ MmZkZWRiZjA0YjM3Yzc5Y2U4ZDA5MjVhZjIxYjYyY2RkMDVkN2U=
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
@@ -0,0 +1,44 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.0
4
+ - 1.9.3
5
+ - jruby-19mode
6
+ - rbx-2
7
+ jdk:
8
+ - openjdk6
9
+ - openjdk7
10
+ - oraclejdk7
11
+ - oraclejdk8
12
+ matrix:
13
+ exclude:
14
+ - rvm: 1.9.3
15
+ jdk: openjdk6
16
+ - rvm: 1.9.3
17
+ jdk: oraclejdk7
18
+ - rvm: 1.9.3
19
+ jdk: oraclejdk8
20
+ - rvm: 2.1.0
21
+ jdk: openjdk6
22
+ - rvm: 2.1.0
23
+ jdk: oraclejdk7
24
+ - rvm: 2.1.0
25
+ jdk: oraclejdk8
26
+ - rvm: rbx-2
27
+ jdk: openjdk6
28
+ - rvm: rbx-2
29
+ jdk: oraclejdk7
30
+ - rvm: rbx-2
31
+ jdk: oraclejdk8
32
+ allow_failures:
33
+ - jdk:
34
+ - oraclejdk8
35
+ fast_finish: true
36
+ addons:
37
+ code_climate:
38
+ repo_token:
39
+ secure: cac4cU0caz/jSv27siHve+woFENtSnv5am8/JMg/SyUm4TiF3b7jsOLC094RjLwbevGLmJjObMX79Q5/CTJUHoi40HH9XYe7Je7x/hBBXrv21Y9axvzyvyUaXjFDzH8kkZrfLwzR/TTFa+pQzB4wNGw0uBWn9/qV87KmUWKidIA=
40
+ deploy:
41
+ provider: rubygems
42
+ api_key:
43
+ secure: J45nuRu3BUudz4412i2ytKWpBWTAcyt1w6U+CW9q4ccKNRVe6O/k5tvWwCA6ygwnA5Ay6CTyhxRpOype7mpqIVV6fWVZhZM//y/RPtx0B/hGRm2V35EiqIGsXdLCtDEnz6ISxiF3efxOSee2xeguPsNVxK2LngYAqJ2uCPvqI3U=
44
+ gem: minecraft-protocol
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in minecraft-protocol.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Kepler Sticka-Jones
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,39 @@
1
+ # Minecraft::Protocol
2
+
3
+ [![Gem Version](http://img.shields.io/gem/v/minecraft-protocol.svg?style=flat-square)](https://rubygems.org/gems/minecraft-protocol)
4
+ [![Latest Stable Gem Downloads](http://img.shields.io/gem/dv/minecraft-protocol/stable.svg?style=flat-square)](https://rubygems.org/gems/minecraft-protocol)
5
+ [![Latest Gem Downloads](http://img.shields.io/gem/dtv/minecraft-protocol.svg?style=flat-square)](https://rubygems.org/gems/minecraft-protocol)
6
+ [![Total Gem Downloads](http://img.shields.io/gem/dt/minecraft-protocol.svg?style=flat-square)](https://rubygems.org/gems/minecraft-protocol)
7
+
8
+ [![travis.ci Continuous Integration](http://img.shields.io/travis/MinecraftRuby/minecraft-protocol.svg?style=flat-square)](https://travis-ci.org/MinecraftRuby/minecraft-protocol)
9
+ [![Inline docs](http://inch-ci.org/github/MinecraftRuby/minecraft-protocol.svg?branch=master&style=flat-square)](http://inch-ci.org/github/MinecraftRuby/minecraft-protocol)
10
+ [![Code Climate GPA](http://img.shields.io/codeclimate/github/MinecraftRuby/minecraft-protocol.svg?style=flat-square)](https://codeclimate.com/github/MinecraftRuby/minecraft-protocol)
11
+ [![Code Climate Test Coverage](http://img.shields.io/codeclimate/coverage/github/MinecraftRuby/minecraft-protocol.svg?style=flat-square)](https://codeclimate.com/github/MinecraftRuby/minecraft-protocol)
12
+
13
+ Centralized Ruby Gem for dealing with Minecraft Protocols.
14
+
15
+ ## Installation
16
+
17
+ Add this line to your application's Gemfile:
18
+
19
+ gem 'minecraft-protocol'
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install minecraft-protocol
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here
32
+
33
+ ## Contributing
34
+
35
+ 1. Fork it ( https://github.com/MinecraftRuby/minecraft-protocol/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create a new Pull Request
@@ -0,0 +1,12 @@
1
+ require 'bundler/gem_tasks'
2
+
3
+ require 'rspec'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ #task :default => :spec
9
+
10
+ task :default do
11
+ puts 'Nothing to Test, Yet!'
12
+ end
@@ -0,0 +1,19 @@
1
+ require 'socket'
2
+
3
+ require 'minecraft/protocol/version'
4
+
5
+ module Minecraft
6
+ class Protocol
7
+ public
8
+
9
+ attr_reader :socket
10
+
11
+ def initialize(socket)
12
+ if socket.is_a? BasicSocket
13
+ @socket = socket
14
+ else
15
+ raise StandardError, 'A Proper Socket was not Passed.'
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,5 @@
1
+ module Minecraft
2
+ class Protocol
3
+ VERSION = '0.0.1'
4
+ end
5
+ end
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'minecraft/protocol/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'minecraft-protocol'
8
+ spec.version = Minecraft::Protocol::VERSION
9
+ spec.version = "#{spec.version}-#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS']
10
+ spec.authors = ['Kepler Sticka-Jones']
11
+ spec.email = ['kbsj269@gmail.com']
12
+ spec.summary = 'Centralized Ruby Gem for dealing with Minecraft Protocols.'
13
+ spec.description = 'Centralized Ruby Gem for dealing with Minecraft Protocols.'
14
+ spec.homepage = 'https://github.com/MinecraftRuby/minecraft-protocol'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0")
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.6'
23
+ spec.add_development_dependency 'rake'
24
+ spec.add_development_dependency 'rspec'
25
+ spec.add_development_dependency 'simplecov'
26
+ end
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minecraft-protocol
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.pre.2
5
+ platform: ruby
6
+ authors:
7
+ - Kepler Sticka-Jones
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-09-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Centralized Ruby Gem for dealing with Minecraft Protocols.
70
+ email:
71
+ - kbsj269@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - .travis.yml
78
+ - Gemfile
79
+ - LICENSE.txt
80
+ - README.md
81
+ - Rakefile
82
+ - lib/minecraft/protocol.rb
83
+ - lib/minecraft/protocol/version.rb
84
+ - minecraft-protocol.gemspec
85
+ homepage: https://github.com/MinecraftRuby/minecraft-protocol
86
+ licenses:
87
+ - MIT
88
+ metadata: {}
89
+ post_install_message:
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ! '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ! '>'
101
+ - !ruby/object:Gem::Version
102
+ version: 1.3.1
103
+ requirements: []
104
+ rubyforge_project:
105
+ rubygems_version: 2.4.1
106
+ signing_key:
107
+ specification_version: 4
108
+ summary: Centralized Ruby Gem for dealing with Minecraft Protocols.
109
+ test_files: []