progress_bar 1.1.0 → 1.2.0

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: 3103cdc1290b5ec50f1da7fbc7062081bae5c16b
4
- data.tar.gz: 87a155b6d6d4c62892f3842061e0ffb59e9311a1
2
+ SHA256:
3
+ metadata.gz: 809ca1c4a9b4c50b1b4ce361aa8f3a6ccb9f60f8dc875080edd31c02cc74dbac
4
+ data.tar.gz: 2aac1dfba61f5231d95d48bedcfd99828de9a2c31868ebc0b6ecbfa6abdccd26
5
5
  SHA512:
6
- metadata.gz: 27f9fe545c96fcd393e0c2daf0b91fa91ca4a630f5872979845797519adfdaa46539e44b4aa1e83b46b2f2b9e9902b1b12fa57aff0fb9baec154d4e9a8a1961d
7
- data.tar.gz: 8e841687bcfa71a84763b7827b3387dd5cb77980774762be90b5e7199b77ec127adb0d0e8b37ec4c826cae01760243444ea8930c7f1de62083c7b7cd2fcf38c3
6
+ metadata.gz: 818b76f5d94de5c8191fba9d4106f847e1a2bd8beba510295e6ba1283c9df65585e3d832186b858a97b8f44206eb7d74f341bedf3734c10ea8a933ecde45ad61
7
+ data.tar.gz: a80e0af49a002fe80be94f82b350cff1ae41791b314b4530a83d3a27c3daca4a7d58375ff2ed90ddc9b5be4561726a129d10c52e896d62581832166f2d6417eb
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  # A sample Gemfile
2
- source "http://rubygems.org"
2
+ source "https://rubygems.org"
3
3
 
4
4
  gemspec
@@ -1,6 +1,7 @@
1
1
  require_relative '../../progress_bar'
2
2
 
3
- # FIXME: should there be a better method?..
4
- [Enumerable, Array, Hash, Range].each do |mod|
5
- mod.send :include, ProgressBar::WithProgress
3
+ ObjectSpace.each_object(Module) do |mod|
4
+ if mod <= Enumerable
5
+ mod.send :include, ProgressBar::WithProgress
6
+ end
6
7
  end
@@ -1,3 +1,3 @@
1
1
  class ProgressBar
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: progress_bar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Sadauskas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-25 00:00:00.000000000 Z
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: options
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project: progress_bar
138
- rubygems_version: 2.6.6
138
+ rubygems_version: 2.7.3
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Simple Progress Bar for output to a terminal