boolean2 1.0.0 → 1.0.1

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
- SHA1:
3
- metadata.gz: a14f9de3abd91d441e3a023c5ba4ed4e3663e321
4
- data.tar.gz: dbfe98e6fc57d3bd51c134ee406c46de88c76147
2
+ SHA256:
3
+ metadata.gz: 72cf066251a32dd07ee98519d90bc4bde35eeb7771e58bef5483fec2c590944b
4
+ data.tar.gz: d039bf7f75613ecaca98c159135ba57c198dd8a06dacc93f14f64d04e8a802a0
5
5
  SHA512:
6
- metadata.gz: 9832163253f773cd6a5725e9edcdfc2e30129501322dc1254276cd9576d59bc460b4b03b8157b41a99cd606f5181f85e19d314c0be88127aa722cc092bf6b35a
7
- data.tar.gz: b047e2c3ca6752698b607a0e20f922e6c490247c7330de4ee234c570a4227aec5294845ef8799c5b37d2486e84837525a818c48c96728002cea0cfeae586fc38
6
+ metadata.gz: b583d0b9430ad5e7c1d13a0040d3f46b1769916a699e59510043d55b307f3ddef1f497b32e5ae0b6363230d77aeb28b5d3549bac7ae4b1ab5b76e9b15209afb7
7
+ data.tar.gz: f0915d448a39d4e5a0ec95eab893949ee3aaa3747a16019b96ada30c8f0c9cd9c82e66d7e95eeccd816942677048704432421c0f14e1d9fd558305243f007ed8
@@ -1,6 +1,10 @@
1
1
  ## CHANGELOG
2
2
 
3
- ### 0.1.0
3
+ ### 1.0.1
4
4
 
5
- * Inital release
5
+ - Relax Ruby version requirement to allow Ruby 3.0
6
+
7
+ ### 1.0.0
8
+
9
+ - Initial release
6
10
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2015 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Boolean2 [![[version]](https://badge.fury.io/rb/boolean2.svg)](http://badge.fury.io/rb/boolean2) [![[travis]](https://travis-ci.org/janlelis/boolean2.png)](https://travis-ci.org/janlelis/boolean2)
1
+ # Boolean2 [![[version]](https://badge.fury.io/rb/boolean2.svg)](https://badge.fury.io/rb/boolean2) [![[ci]](https://github.com/janlelis/boolean2/workflows/Test/badge.svg)](https://github.com/janlelis/boolean2/actions?query=workflow%3ATest)
2
2
 
3
3
  Next time before you want to define a global `Boolean` class, consider using this bare-bones approach instead.
4
4
 
@@ -31,4 +31,4 @@ Boolean2.new(Object.new) #=> true
31
31
 
32
32
  ## J-_-L
33
33
 
34
- Copyright (C) 2015 Jan Lelis <http://janlelis.com>. Released under the MIT license.
34
+ Copyright (C) 2015 Jan Lelis <https://janlelis.com>. Released under the MIT license.
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # # #
2
2
  # Load gemspec info
3
- gemspec_file = Dir['*.gemspec'].first
3
+ gemspec_file = Dir['*.gemspec'].first
4
4
  gemspec = eval File.read(gemspec_file), binding, gemspec_file
5
5
  info = "#{gemspec.name} | #{gemspec.version} | " \
6
6
  "#{gemspec.runtime_dependencies.size} dependencies | " \
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.summary = "A global Boolean2 constant that is an ancestor of true and false."
9
9
  gem.description = "A global Boolean2 constant that is an ancestor of true and false. Useful for coercion libraries."
10
10
  gem.authors = ["Jan Lelis"]
11
- gem.email = "mail@janlelis.de"
11
+ gem.email = ["hi@ruby.consulting"]
12
12
  gem.homepage = "https://github.com/janlelis/boolean2"
13
13
  gem.license = "MIT"
14
14
 
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ['lib']
19
19
 
20
- gem.required_ruby_version = '~> 2.0'
20
+ gem.required_ruby_version = '>= 2.0'
21
21
  end
@@ -1,9 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Boolean2
2
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
3
5
 
4
6
  def self.new(object)
5
7
  object.to_boolean2
6
- end
8
+ end
7
9
  end
8
10
 
9
11
  class TrueClass
metadata CHANGED
@@ -1,24 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boolean2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-25 00:00:00.000000000 Z
11
+ date: 2021-01-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A global Boolean2 constant that is an ancestor of true and false. Useful
14
14
  for coercion libraries.
15
- email: mail@janlelis.de
15
+ email:
16
+ - hi@ruby.consulting
16
17
  executables: []
17
18
  extensions: []
18
19
  extra_rdoc_files: []
19
20
  files:
20
21
  - ".gitignore"
21
- - ".travis.yml"
22
22
  - CHANGELOG.md
23
23
  - Gemfile
24
24
  - MIT-LICENSE.txt
@@ -37,7 +37,7 @@ require_paths:
37
37
  - lib
38
38
  required_ruby_version: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - "~>"
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '2.0'
43
43
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -46,8 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  requirements: []
49
- rubyforge_project:
50
- rubygems_version: 2.4.6
49
+ rubygems_version: 3.2.3
51
50
  signing_key:
52
51
  specification_version: 4
53
52
  summary: A global Boolean2 constant that is an ancestor of true and false.
@@ -1,12 +0,0 @@
1
- language: ruby
2
-
3
- script: bundle exec ruby spec/boolean2_spec.rb
4
-
5
- rvm:
6
- - 2.2
7
- - 2.1
8
- - 2.0
9
- - rbx-2
10
- - jruby-head
11
- - jruby-9000
12
-