moister 0.3.1 → 0.3.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: 9f21bdb50391cfbd0a797b2ef77c90db3602f4710b4ea0d101f0ebd5bd7f893e
4
- data.tar.gz: f7e23f83438291e5b7f39c9e4dd560c907e29a780030fc71e6cc6a817859b8dd
3
+ metadata.gz: 4f5e7d10f33180c97f9f1bf11c59e51ceb024a6ebcb9a323f5fc8317cc2909cd
4
+ data.tar.gz: 2401af0751eccc60b766e4048e07263f0b2ba4fb377920b37930da6e3366834a
5
5
  SHA512:
6
- metadata.gz: e437c52d6a45fe3dbdf375df39e5eb3a613d951380ed7f9b7f5914b27e77e2cb4d6f84ede631ae903e7cf18ecdcdaf863d6d2643ee6a90f6196c30272e5bfb5e
7
- data.tar.gz: 1157f7078acbc4f476bf074b09b6b9c42b8e5169113dd0086e8633dd38c30202f29bc214f64ca4942fe0af7611ab2c52d39db45bd4bdbda1f1dcef0ba743e6eb
6
+ metadata.gz: '08bce03008d4880fe4308b9ecbe2a896685cb0b0dda063d125bc8df346e12c4d89601c8b4309e0baa233aa6640c3668d6606deefbc4fad4884989d0fcbf30c04'
7
+ data.tar.gz: 4f523181d0ea66313410f0283310cc793c32d6da7b341f8cde4691460fdd9edfcc28103bd7d229346f15756d52f1db54e6aeea5f99e2aa317b66dd2ecd92e41a
@@ -0,0 +1,45 @@
1
+ version: 2
2
+ jobs:
3
+ build:
4
+ docker:
5
+ - image: circleci/ruby:2.6.1
6
+
7
+ working_directory: ~/repo
8
+
9
+ steps:
10
+ - checkout
11
+ - restore_cache:
12
+ keys:
13
+ - v1-dependencies-{{ checksum "moister.gemspec" }}
14
+ - v1-dependencies-
15
+ - run:
16
+ name: install dependencies
17
+ command: |
18
+ gem uninstall bundler
19
+ gem install bundler
20
+ bundle install --jobs=4 --retry=3 --path vendor/bundle
21
+ - save_cache:
22
+ paths:
23
+ - ./vendor/bundle
24
+ key: v1-dependencies-{{ checksum "moister.gemspec" }}
25
+ name: run tests
26
+ - run:
27
+ name: run tests
28
+ command: |
29
+ mkdir /tmp/test-results
30
+ TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | \
31
+ circleci tests split --split-by=timings)"
32
+
33
+ bundle exec rspec \
34
+ --format progress \
35
+ --format RspecJunitFormatter \
36
+ --out /tmp/test-results/rspec.xml \
37
+ --format progress \
38
+ $TEST_FILES
39
+
40
+ # collect reports
41
+ - store_test_results:
42
+ path: /tmp/test-results
43
+ - store_artifacts:
44
+ path: /tmp/test-results
45
+ destination: test-results
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Moister
2
2
 
3
- [![build status](https://circleci.com/gh/ohjames/moister.png)](https://circleci.com/gh/ohjames/moister)
3
+ [![build status](https://circleci.com/gh/ohjames/moister.png?style=shield)](https://circleci.com/gh/ohjames/moister)
4
4
 
5
5
  An option parser for ruby supporting subcommands and an optional shorter syntax for `on`.
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rspec/core/rake_task"
3
3
 
4
- # RSpec::Core::RakeTask.new(:spec)
4
+ RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task :default => :spec
@@ -1,3 +1,3 @@
1
1
  module Moister
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -26,7 +26,9 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = ["lib"]
28
28
 
29
- spec.add_development_dependency "bundler", "~> 1.16"
30
29
  spec.add_development_dependency "rake", "~> 12.0"
31
- spec.add_development_dependency "rspec", "~> 3.4"
30
+ spec.add_development_dependency "rspec", "~> 3.8"
31
+ spec.add_development_dependency "rspec_junit_formatter", "~> 0.4"
32
+
33
+ spec.add_dependency "bundler", "~> 2.0"
32
34
  end
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Pike
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-16 00:00:00.000000000 Z
11
+ date: 2019-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '12.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '12.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '12.0'
33
+ version: '3.8'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '12.0'
40
+ version: '3.8'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: rspec_junit_formatter
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.4'
47
+ version: '0.4'
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: '3.4'
54
+ version: '0.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
55
69
  description: An OptionParser wrapper that supports subcommands and shorter syntax.
56
70
  email:
57
71
  - github@chilon.net
@@ -59,6 +73,7 @@ executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
76
+ - ".circleci/config.yml"
62
77
  - ".gitignore"
63
78
  - ".rspec"
64
79
  - ".travis.yml"
@@ -90,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
105
  - !ruby/object:Gem::Version
91
106
  version: '0'
92
107
  requirements: []
93
- rubyforge_project:
94
- rubygems_version: 2.7.3
108
+ rubygems_version: 3.0.3
95
109
  signing_key:
96
110
  specification_version: 4
97
111
  summary: An OptionParser wrapper that supports subcommands and shorter syntax.