agile-cli 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55ed27276194232068f597cb7cc1714a216c988b1386e515ac7ab9373d87a5c3
4
- data.tar.gz: 446a575b8e40d95c6e13e206e525da4e0ed94f3f59f928ecaa747fd7e1a09fd6
3
+ metadata.gz: 92877bf8040ca943673a868c398931b926b863db84b53017c3ce3b471b09865d
4
+ data.tar.gz: '081969eb34b5380fac7222069011ebbb2656d1162ccc60eaadd41259d68407b4'
5
5
  SHA512:
6
- metadata.gz: 4a8542db88ff132d37937523ebd29facdd1f49d112b13f5fd07bb24070f1ce4a6051ed9adbb62129d5b36b44916cbfe15a662da89ce01959f1aad17d48b583bc
7
- data.tar.gz: b576117948443e005960694c95e96d5942d7300c37f5f66cc4d940b25cb7cd12f2a4bacda15d30ceeb6a37d7b5c80dacaa612e34deede561c0b24b2f1a67c153
6
+ metadata.gz: 8714f40592861bdc5132a1b5ba15ca7b732849e5bccc08c041b9d168f325a17c72b213e60fdfa333ca288bccd425c93f1aaff721f0e70af00a82669c8dc29ea4
7
+ data.tar.gz: 531decb28b6672ee02f6302957958cca319fcda5a139dda81adb3bc33d812d1a05838b867f1cb13652901baa634600b075ef398f3556103c6587d69b03434e1d
data/.DS_Store ADDED
Binary file
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.localized ADDED
File without changes
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.0
7
+ before_install: gem install bundler -v 1.17.2
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
3
+
4
+ # Specify your gem's dependencies in agile-cli.gemspec
5
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,37 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ agile-cli (0.0.2)
5
+ thor
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.3)
11
+ rake (10.5.0)
12
+ rspec (3.8.0)
13
+ rspec-core (~> 3.8.0)
14
+ rspec-expectations (~> 3.8.0)
15
+ rspec-mocks (~> 3.8.0)
16
+ rspec-core (3.8.2)
17
+ rspec-support (~> 3.8.0)
18
+ rspec-expectations (3.8.4)
19
+ diff-lcs (>= 1.2.0, < 2.0)
20
+ rspec-support (~> 3.8.0)
21
+ rspec-mocks (3.8.1)
22
+ diff-lcs (>= 1.2.0, < 2.0)
23
+ rspec-support (~> 3.8.0)
24
+ rspec-support (3.8.2)
25
+ thor (0.20.3)
26
+
27
+ PLATFORMS
28
+ ruby
29
+
30
+ DEPENDENCIES
31
+ agile-cli!
32
+ bundler (~> 1.17)
33
+ rake (~> 10.0)
34
+ rspec (~> 3.0)
35
+
36
+ BUNDLED WITH
37
+ 1.17.2
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Agile::Cli
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/agile/cli`. 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 'agile-cli'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install agile-cli
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]/agile-cli.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
data/agile-cli.gemspec ADDED
@@ -0,0 +1,20 @@
1
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "agile-cli"
5
+ spec.version = '0.0.2'
6
+ spec.authors = ["rubizza-camp"]
7
+ spec.licenses = ['MIT']
8
+ spec.summary = %q{Command line instrument for agile.}
9
+ spec.description = %q{Command line instrument for agile.}
10
+ spec.homepage = "https://github.com/rubizza-camp/AgileCli"
11
+ spec.files = `git ls-files`.split($\)
12
+ spec.require_paths = ['lib']
13
+ spec.executables = ['agile']
14
+
15
+ spec.add_dependency 'thor'
16
+
17
+ spec.add_development_dependency "bundler", "~> 1.17"
18
+ spec.add_development_dependency "rake", "~> 10.0"
19
+ spec.add_development_dependency "rspec", "~> 3.0"
20
+ end
data/bin/agile ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../lib/agile'
4
+
5
+ Agile::CLI.start
data/bin/setup ADDED
@@ -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
@@ -0,0 +1,8 @@
1
+ module Agile
2
+ class CLI < Thor
3
+ desc "hello", "Print hello world"
4
+ def hello
5
+ say "Hello world!"
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module Agile
2
+ class CLI < Thor
3
+ desc "version", "Displays the version"
4
+ def version
5
+ say "agile #{Agile::VERSION}"
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Agile
4
+ VERSION = "0.0.1"
5
+ end
data/lib/agile.rb ADDED
@@ -0,0 +1,9 @@
1
+ require "thor"
2
+ require_relative "agile/commands/hello"
3
+ require_relative "agile/commands/version"
4
+ require_relative "agile/constants"
5
+
6
+ module Agile
7
+ class CLI < Thor
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ RSpec.describe Agile::Cli do
2
+ it "has a version number" do
3
+ expect(Agile::Cli::VERSION).not_to be nil
4
+ end
5
+
6
+ it "does something useful" do
7
+ expect(false).to eq(true)
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ require "bundler/setup"
2
+ require "agile/cli"
3
+
4
+ RSpec.configure do |config|
5
+ # Enable flags like --only-failures and --next-failure
6
+ config.example_status_persistence_file_path = ".rspec_status"
7
+
8
+ # Disable RSpec exposing methods globally on `Module` and `main`
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agile-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubizza-camp
@@ -68,10 +68,29 @@ dependencies:
68
68
  version: '3.0'
69
69
  description: Command line instrument for agile.
70
70
  email:
71
- executables: []
71
+ executables:
72
+ - agile
72
73
  extensions: []
73
74
  extra_rdoc_files: []
74
- files: []
75
+ files:
76
+ - ".DS_Store"
77
+ - ".gitignore"
78
+ - ".localized"
79
+ - ".rspec"
80
+ - ".travis.yml"
81
+ - Gemfile
82
+ - Gemfile.lock
83
+ - README.md
84
+ - Rakefile
85
+ - agile-cli.gemspec
86
+ - bin/agile
87
+ - bin/setup
88
+ - lib/agile.rb
89
+ - lib/agile/commands/hello.rb
90
+ - lib/agile/commands/version.rb
91
+ - lib/agile/constants.rb
92
+ - spec/agile/cli_spec.rb
93
+ - spec/spec_helper.rb
75
94
  homepage: https://github.com/rubizza-camp/AgileCli
76
95
  licenses:
77
96
  - MIT