arkrb 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 44676ce6403228c660cd6ebdd5041720a3e0a5623d255f4155f2439a4090455c
4
+ data.tar.gz: a20847149c5e0279fabd19303a5c4edc6c8a3ea04f20f2d814100e8935fddb55
5
+ SHA512:
6
+ metadata.gz: 23b63025cb6f29a51d9204189428eb724ad7a0c3367baf969689fbd6bf2578d989dffa152c192f47271b7875c50cb568d8744860326850ae7cd847e8ba7a9067
7
+ data.tar.gz: 4e3f12f9cc7d98d1c6013d5bf1617244444b972a2cbf49188944ac2028dc629a642ace82b5922e949023254d9d05e0d27150d77ddddf280e201bdd76b3682bfe
@@ -0,0 +1,143 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+
11
+
12
+ # Created by https://www.gitignore.io/api/ruby,linux,rubymine+all
13
+
14
+ ### Linux ###
15
+ *~
16
+
17
+ # temporary files which can be created if a process still has a handle open of a deleted file
18
+ .fuse_hidden*
19
+
20
+ # KDE directory preferences
21
+ .directory
22
+
23
+ # Linux trash folder which might appear on any partition or disk
24
+ .Trash-*
25
+
26
+ # .nfs files are created when an open file is removed but is still being accessed
27
+ .nfs*
28
+
29
+ ### Ruby ###
30
+ *.gem
31
+ *.rbc
32
+ /.config
33
+ /coverage/
34
+ /InstalledFiles
35
+ /pkg/
36
+ /spec/reports/
37
+ /spec/examples.txt
38
+ /test/tmp/
39
+ /test/version_tmp/
40
+ /tmp/
41
+
42
+ # Used by dotenv library to load environment variables.
43
+ # .env
44
+
45
+ ## Specific to RubyMotion:
46
+ .dat*
47
+ .repl_history
48
+ build/
49
+ *.bridgesupport
50
+ build-iPhoneOS/
51
+ build-iPhoneSimulator/
52
+
53
+ ## Specific to RubyMotion (use of CocoaPods):
54
+ #
55
+ # We recommend against adding the Pods directory to your .gitignore. However
56
+ # you should judge for yourself, the pros and cons are mentioned at:
57
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
58
+ #
59
+ # vendor/Pods/
60
+
61
+ ## Documentation cache and generated files:
62
+ /.yardoc/
63
+ /_yardoc/
64
+ /doc/
65
+ /rdoc/
66
+
67
+ ## Environment normalization:
68
+ /.bundle/
69
+ /vendor/bundle
70
+ /lib/bundler/man/
71
+
72
+ # for a library or gem, you might want to ignore these files since the code is
73
+ # intended to run in multiple environments; otherwise, check them in:
74
+ # Gemfile.lock
75
+ # .ruby-version
76
+ # .ruby-gemset
77
+
78
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
79
+ .rvmrc
80
+
81
+ ### RubyMine+all ###
82
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
83
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
84
+
85
+ # User-specific stuff:
86
+ .idea/**/workspace.xml
87
+ .idea/**/tasks.xml
88
+ .idea/dictionaries
89
+
90
+ # Sensitive or high-churn files:
91
+ .idea/**/dataSources/
92
+ .idea/**/dataSources.ids
93
+ .idea/**/dataSources.xml
94
+ .idea/**/dataSources.local.xml
95
+ .idea/**/sqlDataSources.xml
96
+ .idea/**/dynamic.xml
97
+ .idea/**/uiDesigner.xml
98
+
99
+ # Gradle:
100
+ .idea/**/gradle.xml
101
+ .idea/**/libraries
102
+
103
+ # CMake
104
+ cmake-build-debug/
105
+
106
+ # Mongo Explorer plugin:
107
+ .idea/**/mongoSettings.xml
108
+
109
+ ## File-based project format:
110
+ *.iws
111
+
112
+ ## Plugin-specific files:
113
+
114
+ # IntelliJ
115
+ /out/
116
+
117
+ # mpeltonen/sbt-idea plugin
118
+ .idea_modules/
119
+
120
+ # JIRA plugin
121
+ atlassian-ide-plugin.xml
122
+
123
+ # Cursive Clojure plugin
124
+ .idea/replstate.xml
125
+
126
+ # Ruby plugin and RubyMine
127
+ /.rakeTasks
128
+
129
+ # Crashlytics plugin (for Android Studio and IntelliJ)
130
+ com_crashlytics_export_strings.xml
131
+ crashlytics.properties
132
+ crashlytics-build.properties
133
+ fabric.properties
134
+
135
+ ### RubyMine+all Patch ###
136
+ # Ignores the whole idea folder
137
+ # See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
138
+
139
+ .idea/
140
+
141
+
142
+ # End of https://www.gitignore.io/api/ruby,linux,rubymine+all
143
+ /mkmf.log
@@ -0,0 +1 @@
1
+ 2.5.0
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.0
5
+ before_install: gem install bundler -v 1.16.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at michael.bruno1337@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in Arkrb.gemspec
6
+ gemspec
@@ -0,0 +1,44 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ arkrb (0.1.0)
5
+ colorize
6
+ oga
7
+ thor (~> 0.20.0)
8
+ yard (~> 0.9.12)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ ansi (1.5.0)
14
+ ast (2.4.0)
15
+ coderay (1.1.2)
16
+ colorize (0.8.1)
17
+ method_source (0.9.0)
18
+ minitest (5.11.3)
19
+ oga (2.14)
20
+ ast
21
+ ruby-ll (~> 2.1)
22
+ pry (0.11.3)
23
+ coderay (~> 1.1.0)
24
+ method_source (~> 0.9.0)
25
+ rake (10.5.0)
26
+ ruby-ll (2.1.2)
27
+ ansi
28
+ ast
29
+ thor (0.20.0)
30
+ yard (0.9.12)
31
+
32
+ PLATFORMS
33
+ ruby
34
+
35
+ DEPENDENCIES
36
+ arkrb!
37
+ bundler (~> 1.16)
38
+ minitest (~> 5.0)
39
+ pry (~> 0.11.3)
40
+ rake (~> 10.0)
41
+ yard (~> 0.9.12)
42
+
43
+ BUNDLED WITH
44
+ 1.16.1
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Michael Bruno
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,55 @@
1
+ # Arkrb
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/arkmanager`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'arkrb'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install arkrb
22
+
23
+ ## Installation of Bleeding Edge
24
+
25
+ Add this line to your application's Gemfile:
26
+
27
+ ```ruby
28
+ gem 'arkrb', :git => 'https://github.com/mbround18/arkrb.git'
29
+ ```
30
+
31
+ And then execute:
32
+
33
+ $ bundle
34
+
35
+ ## Usage
36
+
37
+ TODO: Write usage instructions here
38
+
39
+ ## Development
40
+
41
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
42
+
43
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
44
+
45
+ ## Contributing
46
+
47
+ Bug reports and pull requests are welcome on GitHub at [github.com/mbround18/Arkrb](https://github.com/mbround18/arkmanager). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
48
+
49
+ ## License
50
+
51
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
53
+ ## Code of Conduct
54
+
55
+ Everyone interacting in the Arkmanager project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/arkmanager/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,44 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'arkrb/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'arkrb'
8
+ spec.version = Arkrb::VERSION
9
+ spec.authors = ['Michael Bruno']
10
+ spec.email = ['michael.bruno1337@gmail.com']
11
+
12
+ spec.summary = 'This is a wrapper for ark server tools which is located at '
13
+ spec.description = 'Gem wrapper for ark-server-tools'
14
+ spec.homepage = 'https://github.com/mbround18/ark_rb'
15
+ spec.license = 'MIT'
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata["allowed_push_host"] = 'https://rubygems.org/'
21
+ else
22
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = 'exe'
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ['lib']
31
+
32
+ spec.add_dependency 'yard', '~> 0.9.12'
33
+ spec.add_dependency 'oga', '~> 1.3', '>= 1.3.1'
34
+ spec.add_runtime_dependency 'thor', '~> 0.20.0'
35
+ spec.add_runtime_dependency 'colorize', '~> 0.8.1'
36
+
37
+ spec.metadata['yard.run'] = 'yri'
38
+
39
+ spec.add_development_dependency 'bundler', '~> 1.16'
40
+ spec.add_development_dependency 'pry', '~> 0.11.3'
41
+ spec.add_development_dependency 'rake', '~> 10.0'
42
+ spec.add_development_dependency 'yard', '~> 0.9.12'
43
+ spec.add_development_dependency 'minitest', '~> 5.0'
44
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require 'arkrb"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here