in_threads 1.5.1 → 1.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05470b8775cb754b56ec031c2a4a9f67a9397758fd9dbdd8437de48201810719
4
- data.tar.gz: 89249ad86a345090391952f5cec41e2c75212ad87422d70f842451b1fd05a0c1
3
+ metadata.gz: 4dd32bea667ff657a57d5de9dd6e362a4fdf329e1ea51764a07e12f9c4a9fec9
4
+ data.tar.gz: e239fc66d0f85f9e0c3ef3cd934a2b9dd6dd9799e896a1edf378c3bcd009368c
5
5
  SHA512:
6
- metadata.gz: d2e8ce848fc0d21d9744a79ca49ab096b865d8eb40cd6c6fbd1f07d8aed07ca3e8cd723a645b020cd3fac0b891549245e113bee97843c6f265de347e4204cb7e
7
- data.tar.gz: b6efc64b444e42efce7311ebec2949974a6b6608456f30a193b141e2cc07483036531a2d304ca7610eca0bc9144e4edc121a12911eba959a26b90f72b6d60660
6
+ metadata.gz: 2e31204a894d49f93241f51de79376aaba4295bc130380c67ec592873dcae510499c3d02ba71d47c6c9d9987d3daf619e8c6e6c052e194cd70bbd36a96c81643
7
+ data.tar.gz: bf3239f48c3c71f73408b23a94e564410e70611b7b1fffd705a019196237c747034ff6c2e889d408fc5928b590bb266f36f1e047bdae3eacee7765b3f304249d
data/.rubocop.yml CHANGED
@@ -14,7 +14,7 @@ Layout/DotPosition:
14
14
  Layout/EndAlignment:
15
15
  EnforcedStyleAlignWith: variable
16
16
 
17
- Layout/IndentHash:
17
+ Layout/IndentFirstHashElement:
18
18
  EnforcedStyle: consistent
19
19
 
20
20
  Layout/RescueEnsureAlignment:
@@ -58,9 +58,6 @@ Metrics/LineLength:
58
58
  Metrics/MethodLength:
59
59
  Max: 30
60
60
 
61
- Performance/RedundantBlockCall:
62
- Enabled: false
63
-
64
61
  Style/DoubleNegation:
65
62
  Enabled: false
66
63
 
data/.travis.yml CHANGED
@@ -7,24 +7,23 @@ rvm:
7
7
  - '2.1.10'
8
8
  - '2.2.10'
9
9
  - '2.3.8'
10
- - '2.4.5'
11
- - '2.5.3'
12
- - '2.6.0'
10
+ - '2.4.6'
11
+ - '2.5.5'
12
+ - '2.6.3'
13
13
  - 'ruby-head'
14
- - 'jruby-9.0.5.0'
15
14
  - 'jruby-9.1.9.0'
16
15
  before_install:
17
- - gem install bundler
18
- - ruby -e 'require "rubygems"; require "bundler/inline"; gemfile{ source "https://rubygems.org"; gem "rubygems-update" }' # get compatible version of rubygems-update
16
+ - gem install rubygems-update || gem install rubygems-update --version '< 3'
19
17
  - gem update --system
18
+ - gem install bundler || gem install bundler --version '< 2'
20
19
  script: bundle exec rspec
21
20
  matrix:
22
21
  include:
23
22
  - env: RUBOCOP=✓
24
- rvm: '2.5.3'
23
+ rvm: '2.6.3'
25
24
  script: bundle exec rubocop
26
25
  - env: CHECK_RUBIES=✓
27
- rvm: '2.5.3'
26
+ rvm: '2.6.3'
28
27
  script: bundle exec travis_check_rubies
29
28
  allow_failures:
30
29
  - rvm: 'ruby-head'
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v1.5.2 (2019-05-25)
6
+
7
+ * Enable frozen string literals [@toy](https://github.com/toy)
8
+
5
9
  ## v1.5.1 (2018-12-30)
6
10
 
7
11
  * Register `chain` to run without threads [@toy](https://github.com/toy)
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2018 Ivan Kuchin
1
+ Copyright (c) 2009-2019 Ivan Kuchin
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.markdown CHANGED
@@ -104,4 +104,4 @@ Exceptions are caught and re-thrown after allowing blocks that are still running
104
104
 
105
105
  ## Copyright
106
106
 
107
- Copyright (c) 2009-2018 Ivan Kuchin. See LICENSE.txt for details.
107
+ Copyright (c) 2009-2019 Ivan Kuchin. See LICENSE.txt for details.
data/in_threads.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'in_threads'
5
- s.version = '1.5.1'
5
+ s.version = '1.5.2'
6
6
  s.summary = %q{Run all possible enumerable methods in concurrent/parallel threads}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
data/lib/in_threads.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'thread'
2
4
  require 'delegate'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rspec'
2
4
  require 'rspec/retry'
3
5
  require 'in_threads'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: in_threads
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-30 00:00:00.000000000 Z
11
+ date: 2019-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -74,7 +74,7 @@ licenses:
74
74
  metadata:
75
75
  bug_tracker_uri: https://github.com/toy/in_threads/issues
76
76
  changelog_uri: https://github.com/toy/in_threads/blob/master/CHANGELOG.markdown
77
- documentation_uri: https://www.rubydoc.info/gems/in_threads/1.5.1
77
+ documentation_uri: https://www.rubydoc.info/gems/in_threads/1.5.2
78
78
  source_code_uri: https://github.com/toy/in_threads
79
79
  post_install_message:
80
80
  rdoc_options: []
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.0.0
94
+ rubygems_version: 3.0.3
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Run all possible enumerable methods in concurrent/parallel threads