simple_assertions 0.6.1 → 0.7.0
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop_todo.yml +19 -3
- data/.travis.yml +9 -2
- data/Gemfile +3 -2
- data/README.md +6 -0
- data/lib/simple_assertions/assert_errors_on.rb +1 -1
- data/lib/simple_assertions/version.rb +1 -1
- data/simple_assertions.gemspec +1 -1
- data/spec/spec_helper.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37c55aaed9147d7910c650aaf755cb7c94f0e512
|
4
|
+
data.tar.gz: 198548d64a02a14fb250b811c5bd0c60674f1ad4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee5a60231674feb5d2bfadcc12727532db5ad1279c0a0ecebb2e5ae3a061370529d5495df909e335051e9176592fc4c170fb42d3c1907ca6e9d2b591bb96ff61
|
7
|
+
data.tar.gz: b1fcfd3f85ad2b1de1016eb0d4d76ee5af0432caf559209db6c1a8aaa179d45dce781f943bf2ab421673bd667e4446b6dea1bd92195a35037aef677e3ba282d5
|
data/.gitignore
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -1,10 +1,17 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
#
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2017-01-09 16:01:51 +0100 using RuboCop version 0.46.0.
|
3
4
|
# The point is for the user to remove these configuration records
|
4
5
|
# one by one as the offenses are removed from the code base.
|
5
6
|
# Note that changes in the inspected code, or installation of new
|
6
7
|
# versions of RuboCop, may require this file to be generated again.
|
7
8
|
|
9
|
+
# Offense count: 1
|
10
|
+
# Cop supports --auto-correct.
|
11
|
+
Lint/UnifiedInteger:
|
12
|
+
Exclude:
|
13
|
+
- 'lib/simple_assertions/assert_errors_on.rb'
|
14
|
+
|
8
15
|
# Offense count: 1
|
9
16
|
Metrics/AbcSize:
|
10
17
|
Max: 45
|
@@ -14,7 +21,8 @@ Metrics/CyclomaticComplexity:
|
|
14
21
|
Max: 9
|
15
22
|
|
16
23
|
# Offense count: 16
|
17
|
-
# Configuration parameters: AllowURI, URISchemes.
|
24
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
25
|
+
# URISchemes: http, https
|
18
26
|
Metrics/LineLength:
|
19
27
|
Max: 126
|
20
28
|
|
@@ -22,3 +30,11 @@ Metrics/LineLength:
|
|
22
30
|
# Configuration parameters: CountComments.
|
23
31
|
Metrics/MethodLength:
|
24
32
|
Max: 32
|
33
|
+
|
34
|
+
# Offense count: 1
|
35
|
+
# Cop supports --auto-correct.
|
36
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
37
|
+
# SupportedStyles: only_raise, only_fail, semantic
|
38
|
+
Style/SignalException:
|
39
|
+
Exclude:
|
40
|
+
- 'spec/simple_assertions/assert_raises_spec.rb'
|
data/.travis.yml
CHANGED
@@ -3,11 +3,16 @@ sudo: false
|
|
3
3
|
cache: bundler
|
4
4
|
bundler_args: --without tools
|
5
5
|
rvm:
|
6
|
-
- 2.
|
7
|
-
- 2.
|
6
|
+
- 2.4.1
|
7
|
+
- 2.3.4
|
8
8
|
- 2.2
|
9
|
+
- 2.1
|
10
|
+
- 2.0
|
11
|
+
- jruby-9.1.8.0
|
9
12
|
- ruby-head
|
10
13
|
- jruby-head
|
14
|
+
after_success:
|
15
|
+
- '[ "${TRAVIS_JOB_NUMBER#*.}" = "1" ] && [ "$TRAVIS_BRANCH" = "master" ] && bundle exec codeclimate-test-reporter'
|
11
16
|
env:
|
12
17
|
global:
|
13
18
|
- CODECLIMATE_REPO_TOKEN=1b43f2bc46bf75b5ae0a4e0c956990346599bf84178fabec28f35c899947093b
|
@@ -15,7 +20,9 @@ env:
|
|
15
20
|
matrix:
|
16
21
|
fast_finish: true
|
17
22
|
allow_failures:
|
23
|
+
- rvm: ruby-head
|
18
24
|
- rvm: jruby-head
|
25
|
+
- rvm: jruby-9.1.5.0
|
19
26
|
notifications:
|
20
27
|
webhooks:
|
21
28
|
urls:
|
data/Gemfile
CHANGED
@@ -3,8 +3,9 @@ source "http://rubygems.org"
|
|
3
3
|
# Specify your gem's dependencies in test-unit-assertions.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
|
7
|
-
gem "codeclimate-test-reporter",
|
6
|
+
group :test do
|
7
|
+
gem "codeclimate-test-reporter", "~> 1.0.0"
|
8
|
+
gem "simplecov"
|
8
9
|
end
|
9
10
|
|
10
11
|
group :tools do
|
data/README.md
CHANGED
@@ -45,6 +45,12 @@ end
|
|
45
45
|
|
46
46
|
Note that only ruby version >= 2.0 is supported.
|
47
47
|
|
48
|
+
## Release
|
49
|
+
|
50
|
+
edit lib/simple_assertions/version.rb
|
51
|
+
git commit -am "Release X.Y.Z"
|
52
|
+
rake release
|
53
|
+
|
48
54
|
## Contributing
|
49
55
|
|
50
56
|
1. [Fork it](https://github.com/neopoly/simple_assertions/fork)
|
data/simple_assertions.gemspec
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_assertions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Suschlik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: activemodel
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 4.2.1
|
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:
|
68
|
+
version: 4.2.1
|
69
69
|
description: A collection of useful assertions.
|
70
70
|
email:
|
71
71
|
- ps@neopoly.de
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.6.11
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: A collection of useful assertions.
|