iterate 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: 84c6a43c71aca508648977a39ea6edd65558c23a
4
- data.tar.gz: 439eb2886aea13f2f99deeb0be37840b66a5ff2f
2
+ SHA256:
3
+ metadata.gz: 8868fbe13b17da6761135badfdb1f3e81111aa1839996b0d14fbe185b4c673d8
4
+ data.tar.gz: d87691bac7c4261b8a08433efd24ba82cdcb9a73f5f43fbfaddabff8bf4ac6cf
5
5
  SHA512:
6
- metadata.gz: e05459a5285510ca07b053df8029d5d01f5d6cb2a8df3b29423149bd10ac33b0eb1f837e1e312dc54cded19e947cb32ed813822fecab7a602257e15c1de6d33f
7
- data.tar.gz: fbef53f763d0cebdebba8e83175cb8ff8f7b0e9fbdeba3b325543242c2a250c2fa530cc8bcde5c778864a9afb7cd8715eb6b4cda0359ce7921bbdef4cc58621e
6
+ metadata.gz: dd02019e36a798cb91ed396970dff3102a2034f488f4884831441a7ab8d7bc6795ac6142ed895c0a619f1ef7f0c1b560cd220e7c72c947cf08dba5cb61f4fda4
7
+ data.tar.gz: 93ba013a41ef7f0e62a96c33c1e57339d1be9eaff5ec50ba5d7129d26a402b20ecf6b5b66bb5bc687163d7692a3bd30e6539e030a627eee812c2b56b63f7dbf3
@@ -1,5 +1,9 @@
1
1
  ## CHANGELOG
2
2
 
3
+ ### 1.0.1
4
+
5
+ * Relax Ruby version requirement to allow Ruby 3.0
6
+
3
7
  ### 1.0.0
4
8
 
5
9
  * Moved from zucker gem into its own gem
data/Gemfile CHANGED
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'minitest'
6
+ gem 'rake'
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2016 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2010-2016 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
- # Kernel#iterate [![[version]](https://badge.fury.io/rb/iterate.svg)](http://badge.fury.io/rb/iterate) [![[travis]](https://travis-ci.org/janlelis/iterate.png)](https://travis-ci.org/janlelis/iterate)
1
+ # Kernel#iterate [![[version]](https://badge.fury.io/rb/iterate.svg)](http://badge.fury.io/rb/iterate) [![[ci]](https://github.com/janlelis/iterate/workflows/Test/badge.svg)](https://github.com/janlelis/iterate/actions?query=workflow%3ATest)
2
2
 
3
3
  Iterate over one or more collections. It feels like an `.each` implemented as a control structure. It also makes it easier to iterate over multiple objects.
4
4
 
@@ -27,4 +27,4 @@ gem 'iterate'
27
27
 
28
28
  ## MIT License
29
29
 
30
- Copyright (C) 2010-2016 Jan Lelis <http://janlelis.com>. Released under the MIT license.
30
+ Copyright (C) 2010-2016 Jan Lelis <https://janlelis.com>. Released under the MIT license.
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  # # #
2
2
  # Get gemspec info
3
3
 
4
- gemspec_file = Dir['*.gemspec'].first
4
+ gemspec_file = Dir['*.gemspec'].first
5
5
  gemspec = eval File.read(gemspec_file), binding, gemspec_file
6
6
  info = "#{gemspec.name} | #{gemspec.version} | " \
7
7
  "#{gemspec.runtime_dependencies.size} dependencies | " \
@@ -28,3 +28,17 @@ desc "#{gemspec.name} | IRB"
28
28
  task :irb do
29
29
  sh "irb -I ./lib -r #{gemspec.name.gsub '-','/'}"
30
30
  end
31
+
32
+
33
+ # # #
34
+ # Run Specs
35
+
36
+ desc "#{gemspec.name} | Spec"
37
+ task :spec do
38
+ if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
39
+ sh "for %f in (spec/\*.rb) do ruby spec/%f"
40
+ else
41
+ sh "for file in spec/*.rb; do ruby $file; done"
42
+ end
43
+ end
44
+ task default: :spec
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
8
8
  gem.summary = "Iterate over one or more collections."
9
9
  gem.description = "Iterate over one or more collections. It feels like an .each implemented as a control structure. It also makes it easier to iterate over multiple objects."
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/iterate"
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,4 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Iterate
2
- VERSION = "1.0.0".freeze
4
+ VERSION = "1.0.1"
3
5
  end
4
6
 
metadata CHANGED
@@ -1,25 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iterate
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: 2016-01-02 00:00:00.000000000 Z
11
+ date: 2021-01-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Iterate over one or more collections. It feels like an .each implemented
14
14
  as a control structure. It also makes it easier to iterate over multiple objects.
15
15
  email:
16
- - mail@janlelis.de
16
+ - hi@ruby.consulting
17
17
  executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - ".gitignore"
22
- - ".travis.yml"
23
22
  - CHANGELOG.md
24
23
  - Gemfile
25
24
  - MIT-LICENSE.txt
@@ -39,7 +38,7 @@ require_paths:
39
38
  - lib
40
39
  required_ruby_version: !ruby/object:Gem::Requirement
41
40
  requirements:
42
- - - "~>"
41
+ - - ">="
43
42
  - !ruby/object:Gem::Version
44
43
  version: '2.0'
45
44
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -48,8 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
47
  - !ruby/object:Gem::Version
49
48
  version: '0'
50
49
  requirements: []
51
- rubyforge_project:
52
- rubygems_version: 2.5.1
50
+ rubygems_version: 3.2.3
53
51
  signing_key:
54
52
  specification_version: 4
55
53
  summary: Iterate over one or more collections.
@@ -1,20 +0,0 @@
1
- sudo: false
2
- language: ruby
3
-
4
- script: bundle exec ruby spec/iterate_spec.rb
5
-
6
- rvm:
7
- - 2.3.0
8
- - 2.2
9
- - 2.1
10
- - 2.0
11
- - ruby-head
12
- - rbx-2
13
- - jruby-head
14
- - jruby-9000
15
-
16
- cache:
17
- - bundler
18
-
19
- # matrix:
20
- # fast_finish: true