overworld-core 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fbe1ea60925eb05e7f988fdc3e6fa683fc83e7d4
4
+ data.tar.gz: b088c3500edd9486d5b83df96aedc65c9b4f4416
5
+ SHA512:
6
+ metadata.gz: 6087e8e50f5ca0f1728a268450c8aceaae867f93b7b8ed7ac787aa4c5d7e2aa1ac76e443f6a1f16f4a9870ceda6e9ea8ea7b66b9891aadf9592b0b7a5179e238
7
+ data.tar.gz: de9adfe965791b41bd07dd9ef27d90ac69b78c7424172f94b3510828d6c66bc209de6df5620f1711389a46633661fbf69ac3cb05b1de3db370aadae47efac48e
data/.codeclimate.yml ADDED
@@ -0,0 +1,23 @@
1
+ engines:
2
+ rubocop:
3
+ enabled: true
4
+ reek:
5
+ enabled: true
6
+ bundler-audit:
7
+ enabled: true
8
+ duplication:
9
+ enabled: true
10
+ config:
11
+ languages:
12
+ - ruby
13
+ markdownlint:
14
+ enabled: true
15
+ ratings:
16
+ paths:
17
+ - Gemfile.lock
18
+ - lib/**
19
+ - "**.rb"
20
+ - "**.md"
21
+ exclude_paths:
22
+ - spec/**/*
23
+ - "**/vendor/**/*"
data/.gitignore ADDED
@@ -0,0 +1,170 @@
1
+ # Created by .ignore support plugin (hsz.mobi)
2
+ ### Linux template
3
+ *~
4
+
5
+ # temporary files which can be created if a process still has a handle open of a deleted file
6
+ .fuse_hidden*
7
+
8
+ # KDE directory preferences
9
+ .directory
10
+
11
+ # Linux trash folder which might appear on any partition or disk
12
+ .Trash-*
13
+
14
+ # .nfs files are created when an open file is removed but is still being accessed
15
+ .nfs*
16
+ ### Vim template
17
+ # swap
18
+ [._]*.s[a-v][a-z]
19
+ [._]*.sw[a-p]
20
+ [._]s[a-v][a-z]
21
+ [._]sw[a-p]
22
+ # session
23
+ Session.vim
24
+ # temporary
25
+ .netrwhist
26
+ # auto-generated tag files
27
+ tags
28
+ ### Java template
29
+ # Compiled class file
30
+ *.class
31
+
32
+ # Log file
33
+ *.log
34
+
35
+ # BlueJ files
36
+ *.ctxt
37
+
38
+ # Mobile Tools for Java (J2ME)
39
+ .mtj.tmp/
40
+
41
+ # Package Files #
42
+ *.jar
43
+ *.war
44
+ *.ear
45
+ *.zip
46
+ *.tar.gz
47
+ *.rar
48
+
49
+ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
50
+ hs_err_pid*
51
+ ### Ruby template
52
+ *.gem
53
+ *.rbc
54
+ /.config
55
+ /coverage/
56
+ /InstalledFiles
57
+ /pkg/
58
+ /spec/reports/
59
+ /spec/examples.txt
60
+ /test/tmp/
61
+ /test/version_tmp/
62
+ /tmp/
63
+
64
+ # Used by dotenv library to load environment variables.
65
+ # .env
66
+
67
+ ## Specific to RubyMotion:
68
+ .dat*
69
+ .repl_history
70
+ build/
71
+ *.bridgesupport
72
+ build-iPhoneOS/
73
+ build-iPhoneSimulator/
74
+
75
+ ## Specific to RubyMotion (use of CocoaPods):
76
+ #
77
+ # We recommend against adding the Pods directory to your .gitignore. However
78
+ # you should judge for yourself, the pros and cons are mentioned at:
79
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
80
+ #
81
+ # vendor/Pods/
82
+
83
+ ## Documentation cache and generated files:
84
+ /.yardoc/
85
+ /_yardoc/
86
+ /doc/
87
+ /rdoc/
88
+
89
+ ## Environment normalization:
90
+ /.bundle/
91
+ /vendor/bundle
92
+ /lib/bundler/man/
93
+
94
+ # for a library or gem, you might want to ignore these files since the code is
95
+ # intended to run in multiple environments; otherwise, check them in:
96
+ Gemfile.lock
97
+ .ruby-version
98
+ .ruby-gemset
99
+
100
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
101
+ .rvmrc
102
+ ### macOS template
103
+ *.DS_Store
104
+ .AppleDouble
105
+ .LSOverride
106
+
107
+ # Icon must end with two \r
108
+ Icon
109
+
110
+
111
+ # Thumbnails
112
+ ._*
113
+
114
+ # Files that might appear in the root of a volume
115
+ .DocumentRevisions-V100
116
+ .fseventsd
117
+ .Spotlight-V100
118
+ .TemporaryItems
119
+ .Trashes
120
+ .VolumeIcon.icns
121
+ .com.apple.timemachine.donotpresent
122
+
123
+ # Directories potentially created on remote AFP share
124
+ .AppleDB
125
+ .AppleDesktop
126
+ Network Trash Folder
127
+ Temporary Items
128
+ .apdisk
129
+ ### JetBrains template
130
+ .idea/
131
+
132
+ ## File-based project format:
133
+ *.iws
134
+
135
+ ## Plugin-specific files:
136
+
137
+ # IntelliJ
138
+ /out/
139
+
140
+ # mpeltonen/sbt-idea plugin
141
+ .idea_modules/
142
+
143
+ # JIRA plugin
144
+ atlassian-ide-plugin.xml
145
+
146
+ # Crashlytics plugin (for Android Studio and IntelliJ)
147
+ com_crashlytics_export_strings.xml
148
+ crashlytics.properties
149
+ crashlytics-build.properties
150
+ fabric.properties
151
+ ### Windows template
152
+ # Windows thumbnail cache files
153
+ Thumbs.db
154
+ ehthumbs.db
155
+ ehthumbs_vista.db
156
+
157
+ # Folder config file
158
+ Desktop.ini
159
+
160
+ # Recycle Bin used on file shares
161
+ $RECYCLE.BIN/
162
+
163
+ # Windows Installer files
164
+ *.cab
165
+ *.msi
166
+ *.msm
167
+ *.msp
168
+
169
+ # Windows shortcuts
170
+ *.lnk
data/.jrubyrc ADDED
@@ -0,0 +1 @@
1
+ debug.fullTrace=true
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format Fuubar
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,28 @@
1
+ env:
2
+ global:
3
+ - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct;
4
+ else git log -1 --skip 1 --pretty=format:%ct; fi)
5
+ language: ruby
6
+ rvm:
7
+ - 2.3
8
+ - 2.4
9
+ - jruby-9.1.5.0
10
+ - jruby-9.1.9.0
11
+ jdk:
12
+ - oraclejdk8
13
+ before_script:
14
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
15
+ > ./cc-test-reporter
16
+ - chmod +x ./cc-test-reporter
17
+ script:
18
+ - bundle exec rake
19
+ after_script:
20
+ - "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
21
+ deploy:
22
+ provider: rubygems
23
+ skip_cleanup: true
24
+ on:
25
+ tags: true
26
+ rvm: 2.3
27
+ api_key:
28
+ secure: AutAtC9BtCfKjnvOAnULGqtpwVfZ1N5GvF86g92BBpGj/mzZRuLvrRiGL7BjfclSLPJAIxeCvapWzj3HTdB7D4755uwXTDDOZQpVD4a8MXRO6IWDNzGV0whZIIHTjh6X68oEXIHC4lKTeMiSfJS21FqJNoIGZlRxtGcgxcMVMi3JAHidjeh32ZOh6TroWRfY+1aOt4lWzgwIzMuRFV9qX1uK+vmOrwYKejPck0ETwPMJqKDiHlxRlDYOq5JF2I2eTu+AaMj3I6R+EbqnsiaDgT451//TcSfcaIoHErWjSuYRwXGIeqzugxRuh7MNpY7FeTipjO//7h1du2rEcR2gJyYH9IPzpYjmAoAmz/dQTPPqIh5mAE4C+RWsuyYQNOiXMEI+mXz6IdA6u0cJLXKYf2CV/oMDCu2KFM1OWNzAsnarTwIiIs6DnD6ID34qvVwfRBLqVZMYJtbooaMPBS8DlQorMLFIfpVHwHdRfDnSpSsAOHICayXm3ErhI33bnhR+QUjwn6PGsaTOPKKQtK5Wp3wLIiJTBkSnAwR0wZCj5q/+GIaEKArmtEFTrzKkFrU2BhM6iERHKV0uCARZMCnZG8cfuJVMklbwGQyPbZ2pqKXTeSQn1IPzxUrpclW2loFK/MgX5QhZcxSvtZ62xultEIX2OFdMVfBH73mdgNCQusQ=
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org/'
2
+
3
+ # Gem dependencies and information specified in overworld-core.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2017 Michael Miller
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ Overworld Core
2
+ ==============
3
+
4
+ Simple server hosting for your games.
5
+ Easily create multi-player hosts for you and your friends.
6
+
7
+ This repository contains the core functionality for Overworld.
8
+ For the front-end interface, see [overworld-hosting/overworld-ui](https://github.com/overworld-hosting/overworld-ui).
9
+ For the bundled package, see [overworld-hosting/overworld](https://github.com/overworld-hosting/overworld).
10
+ For any other components, specifically game support, see the [overworld-hosting organization](https://github.com/overworld-hosting).
11
+
12
+ [![Build Status](https://travis-ci.org/overworld-hosting/overworld-core.svg?branch=master)](https://travis-ci.org/overworld-hosting/overworld-core)
13
+ [![Code Climate](https://codeclimate.com/github/overworld-hosting/overworld-core/badges/gpa.svg)](https://codeclimate.com/github/overworld-hosting/overworld-core)
14
+ [![Test Coverage](https://codeclimate.com/github/overworld-hosting/overworld-core/badges/coverage.svg)](https://codeclimate.com/github/overworld-hosting/overworld-core/coverage)
15
+ [![Issue Count](https://codeclimate.com/github/overworld-hosting/overworld-core/badges/issue_count.svg)](https://codeclimate.com/github/overworld-hosting/overworld-core)
16
+
17
+ Installation
18
+ ------------
19
+
20
+ **TODO**
21
+
22
+ Configuration
23
+ -------------
24
+
25
+ **TODO**
26
+
27
+ Usage
28
+ -----
29
+
30
+ **TODO**
31
+
32
+ Development
33
+ -----------
34
+
35
+ **TODO**
36
+
37
+ Contributing
38
+ ------------
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/overworld-hosting/overworld-core
data/Rakefile ADDED
@@ -0,0 +1,28 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'reek/rake/task'
3
+ require 'rubocop/rake_task'
4
+ require 'rubocop'
5
+ require 'rspec/core/rake_task'
6
+ require 'yard'
7
+
8
+ task default: [:build, :test]
9
+ task inspect: [:reek, :rubocop]
10
+
11
+ RSpec::Core::RakeTask.new(:spec)
12
+ task test: :spec
13
+
14
+ Reek::Rake::Task.new do |task|
15
+ task.name = :reek
16
+ task.source_files = 'lib/**/*.rb'
17
+ task.fail_on_error = false
18
+ end
19
+
20
+ RuboCop::RakeTask.new(:rubocop) do |task|
21
+ task.patterns = ['lib/**/*.rb']
22
+ task.fail_on_error = false
23
+ end
24
+
25
+ YARD::Rake::YardocTask.new do |task|
26
+ task.files = %w(lib/**/*.rb - *.md)
27
+ end
28
+ task doc: :yard
@@ -0,0 +1,6 @@
1
+ module Overworld
2
+ module Core
3
+ # Current version of the Overworld core gem.
4
+ VERSION = '0.0.1'.freeze
5
+ end
6
+ end
@@ -0,0 +1,7 @@
1
+ module Overworld
2
+ # Core functionality for Overworld.
3
+ module Core
4
+ end
5
+ end
6
+
7
+ require_relative 'core/version'
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'overworld/core/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'overworld-core'
8
+ spec.version = Overworld::Core::VERSION
9
+ spec.authors = ['Michael Miller']
10
+ spec.email = ['icy.arctic.fox@gmail.com']
11
+
12
+ spec.summary = %q{Easy server hosting for your games.}
13
+ spec.description = %q{Simple game server creation, hosting, and management. Core functionality for Overworld.}
14
+ spec.homepage = 'https://github.com/overworld-hosting/overworld-core'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = 'exe'
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_dependency 'thor'
22
+
23
+ spec.add_development_dependency 'bundler'
24
+ spec.add_development_dependency 'rake'
25
+ spec.add_development_dependency 'rspec', '~> 3.0'
26
+ spec.add_development_dependency 'fuubar'
27
+ spec.add_development_dependency 'factory_girl', '~> 4.0'
28
+ spec.add_development_dependency 'pry'
29
+ spec.add_development_dependency 'reek', '~> 3.0'
30
+ spec.add_development_dependency 'rubocop', '~> 0.38.0'
31
+ spec.add_development_dependency 'simplecov'
32
+ spec.add_development_dependency 'yard'
33
+ end
metadata ADDED
@@ -0,0 +1,210 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: overworld-core
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Michael Miller
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-06-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
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: rake
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: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: fuubar
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: factory_girl
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '4.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '4.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: reek
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.38.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.38.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: yard
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'
167
+ description: Simple game server creation, hosting, and management. Core functionality
168
+ for Overworld.
169
+ email:
170
+ - icy.arctic.fox@gmail.com
171
+ executables: []
172
+ extensions: []
173
+ extra_rdoc_files: []
174
+ files:
175
+ - ".codeclimate.yml"
176
+ - ".gitignore"
177
+ - ".jrubyrc"
178
+ - ".rspec"
179
+ - ".travis.yml"
180
+ - Gemfile
181
+ - LICENSE
182
+ - README.md
183
+ - Rakefile
184
+ - lib/overworld/core.rb
185
+ - lib/overworld/core/version.rb
186
+ - overworld-core.gemspec
187
+ homepage: https://github.com/overworld-hosting/overworld-core
188
+ licenses: []
189
+ metadata: {}
190
+ post_install_message:
191
+ rdoc_options: []
192
+ require_paths:
193
+ - lib
194
+ required_ruby_version: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ required_rubygems_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ requirements: []
205
+ rubyforge_project:
206
+ rubygems_version: 2.6.11
207
+ signing_key:
208
+ specification_version: 4
209
+ summary: Easy server hosting for your games.
210
+ test_files: []