initium 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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c3c59cf1e76ef97f59992c742d852a98b25593c2
4
+ data.tar.gz: 0eab54e7827fc6b2816aa5a32380ed814257b372
5
+ SHA512:
6
+ metadata.gz: cd12a044353c3d2b83112ceac081596bd7850dab832c8901ac332d69bad599d0e4cfcc2d94c673a922971cf22bf8b2368ace9476e5e448aec8bc1d425f4f9b75
7
+ data.tar.gz: c877d1247d72c49d6f7e4b71d648b1fdee544d147697eddf1488682624f979d3d7864f6c235d857ab136aee83097a2349efd5ad417eeb6d308345bfa2d10a075
@@ -0,0 +1,98 @@
1
+ # Created by .ignore support plugin (hsz.mobi)
2
+ ### JetBrains template
3
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
4
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
5
+
6
+ # User-specific stuff:
7
+ .idea/.rakeTasks
8
+ .idea/initium.iml
9
+ .idea/workspace.xml
10
+ .idea/tasks.xml
11
+
12
+ # Sensitive or high-churn files:
13
+ .idea/dataSources/
14
+ .idea/dataSources.ids
15
+ .idea/dataSources.xml
16
+ .idea/dataSources.local.xml
17
+ .idea/sqlDataSources.xml
18
+ .idea/dynamic.xml
19
+ .idea/uiDesigner.xml
20
+
21
+ # Gradle:
22
+ .idea/gradle.xml
23
+ .idea/libraries
24
+
25
+ # Mongo Explorer plugin:
26
+ .idea/mongoSettings.xml
27
+
28
+ ## File-based project format:
29
+ *.iws
30
+
31
+ ## Plugin-specific files:
32
+
33
+ # IntelliJ
34
+ /out/
35
+
36
+ # mpeltonen/sbt-idea plugin
37
+ .idea_modules/
38
+
39
+ # JIRA plugin
40
+ atlassian-ide-plugin.xml
41
+
42
+ # Crashlytics plugin (for Android Studio and IntelliJ)
43
+ com_crashlytics_export_strings.xml
44
+ crashlytics.properties
45
+ crashlytics-build.properties
46
+ fabric.properties
47
+ ### Ruby template
48
+ *.gem
49
+ *.rbc
50
+ /.config
51
+ /coverage/
52
+ /InstalledFiles
53
+ /pkg/
54
+ /spec/reports/
55
+ /spec/examples.txt
56
+ /test/tmp/
57
+ /test/version_tmp/
58
+ /tmp/
59
+
60
+ # Used by dotenv library to load environment variables.
61
+ # .env
62
+
63
+ ## Specific to RubyMotion:
64
+ .dat*
65
+ .repl_history
66
+ build/
67
+ *.bridgesupport
68
+ build-iPhoneOS/
69
+ build-iPhoneSimulator/
70
+
71
+ ## Specific to RubyMotion (use of CocoaPods):
72
+ #
73
+ # We recommend against adding the Pods directory to your .gitignore. However
74
+ # you should judge for yourself, the pros and cons are mentioned at:
75
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
76
+ #
77
+ # vendor/Pods/
78
+
79
+ ## Documentation cache and generated files:
80
+ /.yardoc/
81
+ /_yardoc/
82
+ /doc/
83
+ /rdoc/
84
+
85
+ ## Environment normalization:
86
+ /.bundle/
87
+ /vendor/bundle
88
+ /lib/bundler/man/
89
+
90
+ # for a library or gem, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # Gemfile.lock
93
+ # .ruby-version
94
+ # .ruby-gemset
95
+
96
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
97
+ .rvmrc
98
+
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
+ <OptionsSetting value="true" id="Add" />
5
+ <OptionsSetting value="true" id="Remove" />
6
+ <OptionsSetting value="true" id="Checkout" />
7
+ <OptionsSetting value="true" id="Update" />
8
+ <OptionsSetting value="true" id="Status" />
9
+ <OptionsSetting value="true" id="Edit" />
10
+ <ConfirmationsSetting value="0" id="Add" />
11
+ <ConfirmationsSetting value="0" id="Remove" />
12
+ </component>
13
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.3.0" project-jdk-type="RUBY_SDK" />
14
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/initium.iml" filepath="$PROJECT_DIR$/.idea/initium.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in initium.gemspec
4
+ gemspec
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ initium (0.0.1)
5
+ commander (~> 4.4)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ builder (3.2.2)
11
+ commander (4.4.0)
12
+ highline (~> 1.7.2)
13
+ cucumber (2.4.0)
14
+ builder (>= 2.1.2)
15
+ cucumber-core (~> 1.5.0)
16
+ cucumber-wire (~> 0.0.1)
17
+ diff-lcs (>= 1.1.3)
18
+ gherkin (~> 4.0)
19
+ multi_json (>= 1.7.5, < 2.0)
20
+ multi_test (>= 0.1.2)
21
+ cucumber-core (1.5.0)
22
+ gherkin (~> 4.0)
23
+ cucumber-wire (0.0.1)
24
+ diff-lcs (1.2.5)
25
+ docile (1.1.5)
26
+ gherkin (4.0.0)
27
+ highline (1.7.8)
28
+ json (2.0.2)
29
+ multi_json (1.12.1)
30
+ multi_test (0.1.2)
31
+ rake (10.4.2)
32
+ rspec (3.6.0.beta2)
33
+ rspec-core (= 3.6.0.beta2)
34
+ rspec-expectations (= 3.6.0.beta2)
35
+ rspec-mocks (= 3.6.0.beta2)
36
+ rspec-core (3.6.0.beta2)
37
+ rspec-support (= 3.6.0.beta2)
38
+ rspec-expectations (3.6.0.beta2)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (= 3.6.0.beta2)
41
+ rspec-mocks (3.6.0.beta2)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (= 3.6.0.beta2)
44
+ rspec-support (3.6.0.beta2)
45
+ simplecov (0.12.0)
46
+ docile (~> 1.1.0)
47
+ json (>= 1.8, < 3)
48
+ simplecov-html (~> 0.10.0)
49
+ simplecov-html (0.10.0)
50
+ yard (0.9.5)
51
+
52
+ PLATFORMS
53
+ ruby
54
+
55
+ DEPENDENCIES
56
+ bundler (~> 1.13)
57
+ cucumber (~> 2.4)
58
+ initium!
59
+ rake (~> 10.0)
60
+ rspec (~> 3.0)
61
+ simplecov (~> 0.12)
62
+ yard (~> 0.9)
63
+
64
+ BUNDLED WITH
65
+ 1.13.6
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Nane Kratzke
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,41 @@
1
+ # Initium
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/initium`. 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 'initium'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install initium
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/initium.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,20 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+ require "yard"
4
+ require "cucumber"
5
+ require "cucumber/rake/task"
6
+
7
+ RSpec::Core::RakeTask.new(:spec)
8
+
9
+ YARD::Rake::YardocTask.new(:doc) do |t|
10
+ t.files = ['lib/**/*.rb', '-', 'README.md', 'LICENSE.txt']
11
+ t.stats_options = ['--list-undoc']
12
+ end
13
+
14
+ Cucumber::Rake::Task.new(:features) do |t|
15
+ t.cucumber_opts = "--format pretty"
16
+ end
17
+
18
+ task :complete => [:spec, :features, :doc]
19
+
20
+ task :release => :complete
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ require "initium"
3
+ require 'commander/import'
4
+
5
+ program :version, Initium::VERSION
6
+ program :description, 'Initium is a stupid placeholder command.'
7
+
8
+ command :foo do |c|
9
+ c.syntax = 'initium foo'
10
+ c.description = 'Just an example for a command.'
11
+ c.action do |args, options|
12
+ say Initium.command(args.first)
13
+ end
14
+ end
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'initium/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "initium"
8
+ spec.version = Initium::VERSION
9
+ spec.authors = ["Nane Kratzke"]
10
+ spec.email = ["nane@nkode.io"]
11
+
12
+ spec.summary = %q{A gem showing a bullet proof initial setting for gem.}
13
+ spec.description = spec.summary
14
+ # spec.homepage = "TODO: Put your gem's website or public repo URL here."
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 " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.13"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rspec", "~> 3.0"
36
+ spec.add_development_dependency "yard", "~> 0.9"
37
+ spec.add_development_dependency "cucumber", "~> 2.4"
38
+ spec.add_development_dependency "simplecov", "~> 0.12"
39
+
40
+ spec.add_dependency "commander", "~> 4.4"
41
+ end
@@ -0,0 +1,8 @@
1
+ require "initium/version"
2
+ require "initium/command"
3
+
4
+ # This is a placeholder documentation for the module.
5
+ # @author Nane Kratzke
6
+ #
7
+ module Initium
8
+ end
@@ -0,0 +1,12 @@
1
+ module Initium
2
+
3
+ # An example for a simple method called by a CLI command.
4
+ #
5
+ # @param p [String] a parameter example
6
+ # @return [String] A simple string containing the passed parameter.
7
+ #
8
+ def self.command(p)
9
+ "A dummy command called with parameter '#{p}'."
10
+ end
11
+
12
+ end
@@ -0,0 +1,6 @@
1
+ module Initium
2
+
3
+ # The semantic version number of the software.
4
+ #
5
+ VERSION = "0.0.1"
6
+ end
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: initium
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Nane Kratzke
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-12-21 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.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.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: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.9'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.9'
69
+ - !ruby/object:Gem::Dependency
70
+ name: cucumber
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.12'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.12'
97
+ - !ruby/object:Gem::Dependency
98
+ name: commander
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '4.4'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '4.4'
111
+ description: A gem showing a bullet proof initial setting for gem.
112
+ email:
113
+ - nane@nkode.io
114
+ executables:
115
+ - initium
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".idea/initium.iml"
121
+ - ".idea/misc.xml"
122
+ - ".idea/modules.xml"
123
+ - ".idea/vcs.xml"
124
+ - Gemfile
125
+ - Gemfile.lock
126
+ - LICENSE.txt
127
+ - README.md
128
+ - Rakefile
129
+ - exe/initium
130
+ - initium.gemspec
131
+ - lib/initium.rb
132
+ - lib/initium/command.rb
133
+ - lib/initium/version.rb
134
+ homepage:
135
+ licenses:
136
+ - MIT
137
+ metadata:
138
+ allowed_push_host: https://rubygems.org
139
+ post_install_message:
140
+ rdoc_options: []
141
+ require_paths:
142
+ - lib
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ requirements: []
154
+ rubyforge_project:
155
+ rubygems_version: 2.5.1
156
+ signing_key:
157
+ specification_version: 4
158
+ summary: A gem showing a bullet proof initial setting for gem.
159
+ test_files: []