hoss 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 33580c829a812c199b0a92fbd6a834383b618f51
4
+ data.tar.gz: 91c016fcd6cebf246ca1e6d1da23e9b33d63d774
5
+ SHA512:
6
+ metadata.gz: 1dbd5e399d5bed15c24b0b6cff048af700642ca100ebce9c06631d48d22b74b0a003e4b688450c9009aaee345bfff6cd01113b63e938984a26e03d4f6a8654f5
7
+ data.tar.gz: 4b9bcadb93bd0987d21dd1656f50b6427564b7f611af652d4a99db3f1542a6afa89b4bf5745ab99c3f981a76bcf1ef203db20dced2645801afb53ea8d837d711
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ *~
2
+ *.gem
3
+ *.log
4
+ *.out
5
+ *.pid
6
+ *.swp
7
+ .DS_Store
8
+ .yardoc
9
+ doc
10
+ pkg
11
+ config.json
12
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'pry'
7
+ gem 'rake'
8
+ gem 'yard'
9
+ gem 'version'
10
+ gem 'rubygems-tasks'
11
+ end
12
+
13
+ group :test do
14
+ gem 'minitest'
15
+ end
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2014 Sean Clemmer
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Hoss
2
+
3
+ Like a hoss.
data/Rakefile ADDED
@@ -0,0 +1,33 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ require 'rake'
4
+
5
+
6
+ require 'rake/testtask'
7
+ Rake::TestTask.new(:test) do |test|
8
+ test.libs << 'lib' << 'test'
9
+ test.test_files = FileList['test/test*.rb']
10
+ test.verbose = true
11
+ end
12
+
13
+ task :default => :test
14
+
15
+
16
+ require 'yard'
17
+ YARD::Rake::YardocTask.new do |t|
18
+ t.files = %w[ --readme Readme.md lib/**/*.rb - VERSION ]
19
+ end
20
+
21
+
22
+ require 'rubygems/tasks'
23
+ Gem::Tasks.new({
24
+ push: true,
25
+ sign: {}
26
+ }) do |tasks|
27
+ tasks.console.command = 'pry'
28
+ end
29
+ Gem::Tasks::Sign::Checksum.new sha2: true
30
+
31
+
32
+ require 'rake/version_task'
33
+ Rake::VersionTask.new
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1
data/bin/hoss ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require 'hoss'
3
+ Hoss::Main.start ARGV
data/hoss.gemspec ADDED
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path(File.join('..', 'lib'), __FILE__)
3
+ require 'hoss/metadata'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'hoss'
7
+ s.version = Hoss::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.author = Hoss::AUTHOR
10
+ s.email = Hoss::EMAIL
11
+ s.license = Hoss::LICENSE
12
+ s.homepage = Hoss::HOMEPAGE
13
+ s.summary = Hoss::SUMMARY
14
+ s.description = Hoss::SUMMARY + '.'
15
+
16
+ s.add_runtime_dependency 'thor', '~> 0'
17
+
18
+ s.files = `git ls-files`.split("\n")
19
+ s.test_files = `git ls-files -- test/*`.split("\n")
20
+ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File::basename(f) }
21
+ s.require_paths = %w[ lib ]
22
+ end
data/lib/hoss/main.rb ADDED
@@ -0,0 +1,15 @@
1
+ require 'thor'
2
+
3
+ require_relative 'metadata'
4
+
5
+
6
+ module Hoss
7
+ class Main < Thor
8
+
9
+ desc 'version', 'Echo the application version'
10
+ def version
11
+ puts VERSION
12
+ end
13
+
14
+ end
15
+ end
@@ -0,0 +1,37 @@
1
+ module Hoss
2
+
3
+ # We use a VERSION file to tie into our build pipeline
4
+ VERSION = File.read(File.join(File.dirname(__FILE__), '..', '..', 'VERSION')).strip
5
+
6
+ # We don't really do all that much, be humble
7
+ SUMMARY = 'Like a hoss'
8
+
9
+ # Your benevolent dictator for life
10
+ AUTHOR = 'Sean Clemmer'
11
+
12
+ # Turn here to strangle your dictator
13
+ EMAIL = 'sclemmer@bluejeans.com'
14
+
15
+ # Like the MIT license, but even simpler
16
+ LICENSE = 'ISC'
17
+
18
+ # If you really just can't get enough
19
+ HOMEPAGE = 'https://github.com/sczizzo/hoss'
20
+
21
+ # Every project deserves its own ASCII art
22
+ ART = <<-'EOART' % VERSION
23
+ ,---,
24
+ ,--.' |
25
+ | | : ,---.
26
+ : : : ' ,'\ .--.--. .--.--.
27
+ : | |,--. / / | / / ' / / '
28
+ | : ' |. ; ,. :| : /`./ | : /`./
29
+ | | /' :' | |: :| : ;_ | : ;_
30
+ ' : | | |' | .; : \ \ `. \ \ `.
31
+ | | ' | :| : | `----. \ `----. \
32
+ | : :_:,' \ \ / / /`--' // /`--' /
33
+ | | ,' `----' '--'. /'--'. /
34
+ `--'' `--'---' `--'---'
35
+ v%s
36
+ EOART
37
+ end
data/lib/hoss.rb ADDED
@@ -0,0 +1 @@
1
+ require_relative 'hoss/main'
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hoss
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Sean Clemmer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-24 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
+ description: Like a hoss.
28
+ email: sclemmer@bluejeans.com
29
+ executables:
30
+ - hoss
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".gitignore"
35
+ - Gemfile
36
+ - LICENSE
37
+ - README.md
38
+ - Rakefile
39
+ - VERSION
40
+ - bin/hoss
41
+ - hoss.gemspec
42
+ - lib/hoss.rb
43
+ - lib/hoss/main.rb
44
+ - lib/hoss/metadata.rb
45
+ homepage: https://github.com/sczizzo/hoss
46
+ licenses:
47
+ - ISC
48
+ metadata: {}
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubyforge_project:
65
+ rubygems_version: 2.2.2
66
+ signing_key:
67
+ specification_version: 4
68
+ summary: Like a hoss
69
+ test_files: []