hexx-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
  SHA1:
3
- metadata.gz: 992bc17d56268132a6c94a6660bf1f2e7c3336a7
4
- data.tar.gz: a0053e74af65bcbd321c145a02733567afc3753b
3
+ metadata.gz: b8d7559e73a92c44357167058c16f2e3d58ca668
4
+ data.tar.gz: f9475867be9a3f45273ed4d0048bcd09cb030ca9
5
5
  SHA512:
6
- metadata.gz: 54ded2ec1c055afb1d4dc41a56206d490703a166f25bc5f8e2ab07cdcc927a2ec9524889622810fa40a5a69cb7ceda4b1d4ea3f996b22cbac1b8db8379213e17
7
- data.tar.gz: c467529a9e719c1428cf4acfe649ed6ec258f1b950c8feb9979aa9685e0e9f1528336ec17ac922ca7f9f959e5435336f54b04908964ee1d51bde74d9f9c9ff96
6
+ metadata.gz: 32d5583c78a9475a523762f46a7db03ed72f717fee6350627666d1c198cd127c6fbd4702e79909068825e1c9a9af129d47716e944ffcec9dbaad27d0d648bb89
7
+ data.tar.gz: 0a6366c9801ae22b5da5e69031ea30eb2f7a2b64e43a43e5de17659ed3c7797d5061d453084c8d2349ec021c551706399c69894c425fcd3401385bc48456ceed
data/.metrics CHANGED
@@ -1,5 +1,9 @@
1
1
  # Settings for metric_fu and its packages are collected in the `config/metrics`
2
2
  # and loaded by the Hexx::Suit::Metrics::MetricFu.
3
3
 
4
- require "hexx-suit"
5
- Hexx::Suit::Metrics::MetricFu.load
4
+ begin
5
+ require "hexx-suit"
6
+ Hexx::Suit::Metrics::MetricFu.load
7
+ rescue LoadError
8
+ nil
9
+ end
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  language: ruby
3
- script: rake test:coverage:run # defined in the 'hexx-rspec' module
3
+ bundler_args: --without metrics
4
+ script: rake test:coverage:run
4
5
  rvm:
5
6
  - '2.0'
6
7
  - ruby-head
data/Gemfile CHANGED
@@ -2,6 +2,4 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- group :development do
6
- gem "hexx-suit", "1.2", require: false
7
- end
5
+ gem "hexx-suit", "~> 2.0", group: :metrics if RUBY_ENGINE == "ruby"
data/README.md CHANGED
@@ -2,16 +2,16 @@ Hexx::CLI
2
2
  =========
3
3
 
4
4
  [![Gem Version](https://img.shields.io/gem/v/hexx-cli.svg?style=flat)][gem]
5
- [![Build Status](https://img.shields.io/travis/nepalez/hexx/master.svg?style=flat)][travis]
5
+ [![Build Status](https://img.shields.io/travis/nepalez/hexx-cli/master.svg?style=flat)][travis]
6
6
  [![Dependency Status](https://img.shields.io/gemnasium/nepalez/hexx-cli.svg?style=flat)][gemnasium]
7
7
  [![Code Climate](https://img.shields.io/codeclimate/github/nepalez/hexx-cli.svg?style=flat)][codeclimate]
8
8
  [![Coverage](https://img.shields.io/coveralls/nepalez/hexx-cli.svg?style=flat)][coveralls]
9
9
 
10
- [codeclimate]: https://codeclimate.com/github/nepalez/hexx
11
- [coveralls]: https://coveralls.io/r/nepalez/hexx
12
- [gem]: https://rubygems.org/gems/hexx
13
- [gemnasium]: https://gemnasium.com/nepalez/hexx
14
- [travis]: https://travis-ci.org/nepalez/hexx
10
+ [codeclimate]: https://codeclimate.com/github/nepalez/hexx-cli
11
+ [coveralls]: https://coveralls.io/r/nepalez/hexx-cli
12
+ [gem]: https://rubygems.org/gems/hexx-cli
13
+ [gemnasium]: https://gemnasium.com/nepalez/hexx-cli
14
+ [travis]: https://travis-ci.org/nepalez/hexx-cli
15
15
 
16
16
  The module contains:
17
17
 
data/Rakefile CHANGED
@@ -10,8 +10,13 @@ end
10
10
  Bundler::GemHelper.install_tasks
11
11
 
12
12
  # Loads the Hexx::Suit and its tasks
13
- require "hexx-suit"
14
- Hexx::Suit.install_tasks
13
+ begin
14
+ require "hexx-suit"
15
+ Hexx::Suit.install_tasks
16
+ rescue LoadError
17
+ require "hexx-rspec"
18
+ Hexx::RSpec.install_tasks
19
+ end
15
20
 
16
21
  # Sets the Hexx::Suit :test task to default
17
22
  task default: :test
data/hexx-cli.gemspec CHANGED
@@ -18,11 +18,9 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = Dir["spec/**/*.rb"]
19
19
  gem.extra_rdoc_files = Dir["README.md", "LICENSE"]
20
20
 
21
- gem.required_ruby_version = ">= 2.0"
22
-
21
+ gem.required_ruby_version = "~> 2.0"
23
22
  gem.add_runtime_dependency "extlib", "~> 0.9"
24
23
  gem.add_runtime_dependency "thor", "~> 0.19"
25
-
26
- gem.add_development_dependency "hexx-rspec", "~> 0.2"
24
+ gem.add_development_dependency "hexx-rspec", "~> 0.3"
27
25
 
28
26
  end # Gem::Specification
@@ -6,7 +6,7 @@ module Hexx
6
6
 
7
7
  # The semantic version of the module.
8
8
  # @see http://semver.org/ Semantic versioning 2.0
9
- VERSION = "0.0.1".freeze
9
+ VERSION = "0.0.2".freeze
10
10
 
11
11
  end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hexx-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
  - Andrew Kozin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-14 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: extlib
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.2'
47
+ version: '0.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.2'
54
+ version: '0.3'
55
55
  description: Base generator.
56
56
  email: andrew.kozin@gmail.com
57
57
  executables: []
@@ -98,7 +98,7 @@ require_paths:
98
98
  - lib
99
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '2.0'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement