gistory 0.1.6 → 0.1.7

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: 72836cca18fd26cede97fde21b76c9ae225356751cec131e9631e8c746241a26
4
- data.tar.gz: a62e021cc1fbf194f00e84722a89c7a05bc7eb152edf4c15f1d70531a1e986e4
3
+ metadata.gz: d0a07bc173fd96849fa0660f4641d9945896f3329ec3cc467be6ceb4383a75eb
4
+ data.tar.gz: cee8b211779dc04c1f0d11af49496aaf3745d4763e618ef74cb3ca88f09b016a
5
5
  SHA512:
6
- metadata.gz: b95cb0e28c162937b8533768d719050ae756117d2def8ba552b906636e00e282f983a1bae36860ce4afc2a7f5b3a9cbaea91873b71ce5fb24b9cf43f1f2a0707
7
- data.tar.gz: d3f43852128ca25fa2619084b3916f54cda3ba30999a208b025329c57f7dce48d04f3ac5247056ff8a0c61abc369d80dafd5af932a0e3f8410982c6d33b2ce7d
6
+ metadata.gz: ad8f8841415791d29292e5ab2ad7057d763e5fc59de7fa7cf42e574aea9a959241ac7e526e062a9dc9863974e15ee52b3aef96be5567c625de9ff5b44dea96e2
7
+ data.tar.gz: cacb17ab10b572b74bf760ab98690e55afa6d93f6de207df04bc2774e1d924db8eb533bbacc1a660e0d9ec17556fe54aa6031f0132eaaac25c249221a07a0893
data/.codeclimate.yml CHANGED
@@ -13,4 +13,4 @@ ratings:
13
13
  paths:
14
14
  - "**.rb"
15
15
  exclude_paths:
16
- - test/
16
+ - spec/
data/.gitignore CHANGED
@@ -8,4 +8,7 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
 
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
11
14
  NOTES.txt
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml CHANGED
@@ -2,20 +2,16 @@ Documentation:
2
2
  Enabled: false
3
3
 
4
4
  Metrics/AbcSize:
5
- # The ABC size is a calculated magnitude, so this number can be a Fixnum or a Float.
6
- # http://c2.com/cgi/wiki?AbcMetric
7
5
  Max: 25
8
6
  Exclude:
9
- - 'test/**/*_test.rb' # ignore tests which typically have high B count due to many asserts
7
+ - 'spec/**/*_spec.rb'
10
8
 
11
- Metrics/ClassLength:
9
+ Metrics/BlockLength:
12
10
  Exclude:
13
- - 'test/**/*_test.rb'
11
+ - 'spec/**/*_spec.rb'
14
12
 
15
13
  Metrics/MethodLength:
16
14
  Max: 20
17
- Exclude:
18
- - 'test/**/*_test.rb'
19
15
 
20
16
  Metrics/LineLength:
21
17
  Max: 120
@@ -23,6 +19,10 @@ Metrics/LineLength:
23
19
  Layout/EmptyLineAfterGuardClause:
24
20
  Enabled: false
25
21
 
22
+ Style/BlockDelimiters:
23
+ Exclude:
24
+ - 'spec/**/*_spec.rb'
25
+
26
26
  Style/IfUnlessModifier:
27
27
  Enabled: false
28
28
 
data/.travis.yml CHANGED
@@ -1,5 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
+ script:
4
+ - bundle exec rspec
3
5
  rvm:
4
6
  - 2.4.0
5
7
  - 2.3.3
data/Gemfile CHANGED
@@ -12,7 +12,6 @@ end
12
12
 
13
13
  group :test do
14
14
  gem 'coveralls', require: false
15
- gem 'flexmock' # mock library
16
15
  gem 'simplecov', require: false # code coverage
17
16
  end
18
17
 
data/Rakefile CHANGED
@@ -1,12 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'bundler/gem_tasks'
4
- require 'rake/testtask'
4
+ require 'rspec/core/rake_task'
5
5
 
6
- Rake::TestTask.new(:test) do |t|
7
- t.libs << 'test'
8
- t.libs << 'lib'
9
- t.test_files = FileList['test/**/*_test.rb']
10
- end
6
+ RSpec::Core::RakeTask.new(:spec)
11
7
 
12
- task default: :test
8
+ task default: :spec
data/gistory.gemspec CHANGED
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'bundler', '~> 1.0'
28
28
  spec.add_dependency 'colorize'
29
29
 
30
- spec.add_development_dependency 'minitest', '~> 5.0'
31
30
  spec.add_development_dependency 'rake', '~> 10.0'
31
+ spec.add_development_dependency 'rspec', '~> 3.8'
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gistory
4
- VERSION = '0.1.6'.freeze
4
+ VERSION = '0.1.7'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gistory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Medina
@@ -39,33 +39,33 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: minitest
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.0'
47
+ version: '10.0'
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: '5.0'
54
+ version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake
56
+ name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: '3.8'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: '3.8'
69
69
  description: 'Gistory: Know exactly when a gem was updated in your Gemfile.lock'
70
70
  email:
71
71
  - medinasergio@gmail.com
@@ -77,6 +77,7 @@ files:
77
77
  - ".codeclimate.yml"
78
78
  - ".coveralls.yml"
79
79
  - ".gitignore"
80
+ - ".rspec"
80
81
  - ".rubocop.yml"
81
82
  - ".travis.yml"
82
83
  - Gemfile