array_with_progress 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZGY0OTkyYWY2MzY1NjZiMmUyYTc2MzM5NDJjNTJlMzU3YmRlMzUxMQ==
5
- data.tar.gz: !binary |-
6
- ODQxODI5MTUxMzQ2MGQxMzk0NDlkZGI5YzQ5NjY0ZWMxN2JjNTM3MA==
2
+ SHA1:
3
+ metadata.gz: e52a226e762e40cdef1b0a85f809fb26bc19fa5c
4
+ data.tar.gz: ca098801cddfe2fbb0f5ced0fec2942b4981875f
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzIxNWI4OWUxZjJlN2JlNjkzZGQ2NzkyNzBlMjIyZjBmODlkYTkzNGFiMTI0
10
- NDE5ZTE5ZWU3Y2FiOGM1NmE5ODBlZDdmMWQyYjFkN2ZmMmY2OGI5OGM1MTA5
11
- ZDRkODZmMzdlZGE4Y2NiODNkMGZlMTI3YmUzNTYxMTkxY2YxZTY=
12
- data.tar.gz: !binary |-
13
- M2RjMjgwZWVkM2NiMDg0YTIyMmQ4NzZmZWVhNjRmY2QxNTgzOTVlMmQ3NzRm
14
- ZThhNzRlZGNhNjY4NjY4YzhjN2UzYTc1ODc0N2U3YTM1NDY2MDdkZWM4ZDZi
15
- ZmRlODQ2NjAzMzY5NjY2NmYzYmMyZTM0YjMyYmNjYWM1YzhiMGY=
6
+ metadata.gz: 83825d5631806d2b4eacf463e663f053c0ff50c3324ec2723b45ac2b9fb335d024e468b42e654dd77fa219b56b8257886fca2a63cc85c4a7863f8c40b0f475fc
7
+ data.tar.gz: 43de11fc3252c404a87d6c684132565a80b6acbb2252d218e2d0069d18e1a9032053b69aad82d400d4f9d460d9be9273aba5545020405e4d0fec28a1b6ea0dc2
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_runtime_dependency 'colorize'
22
- spec.add_runtime_dependency 'highline'
23
22
 
24
23
  spec.add_development_dependency "bundler", "~> 1.7"
25
24
  spec.add_development_dependency "rake", "~> 10.0"
@@ -1,8 +1,8 @@
1
- require 'highline/system_extensions'
2
-
3
1
  class ArrayProgressConfiguration
4
2
  def self.terminal_width
5
- HighLine::SystemExtensions.terminal_size[0]
3
+ `tput cols`.to_i
4
+ rescue Errno::ENOENT => e
5
+ 80
6
6
  end
7
7
 
8
8
  def self.item_width
@@ -1,3 +1,3 @@
1
1
  module ArrayWithProgress
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array_with_progress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Dąbrowski
@@ -14,84 +14,70 @@ dependencies:
14
14
  name: colorize
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: highline
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ! '>='
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: bundler
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ~>
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
33
  version: '1.7'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ~>
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
40
  version: '1.7'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ~>
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
47
  version: '10.0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ~>
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
54
  version: '10.0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rspec
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ~>
59
+ - - "~>"
74
60
  - !ruby/object:Gem::Version
75
61
  version: '3.2'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ~>
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '3.2'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: activerecord
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - ! '>='
73
+ - - ">="
88
74
  - !ruby/object:Gem::Version
89
75
  version: '0'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ! '>='
80
+ - - ">="
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  description: Easily visualize progress of any Ruby task. A drop in replacement for
@@ -105,9 +91,9 @@ executables: []
105
91
  extensions: []
106
92
  extra_rdoc_files: []
107
93
  files:
108
- - .gitignore
109
- - .rspec
110
- - .travis.yml
94
+ - ".gitignore"
95
+ - ".rspec"
96
+ - ".travis.yml"
111
97
  - Gemfile
112
98
  - LICENSE.txt
113
99
  - README.md
@@ -130,17 +116,17 @@ require_paths:
130
116
  - lib
131
117
  required_ruby_version: !ruby/object:Gem::Requirement
132
118
  requirements:
133
- - - ! '>='
119
+ - - ">="
134
120
  - !ruby/object:Gem::Version
135
121
  version: '0'
136
122
  required_rubygems_version: !ruby/object:Gem::Requirement
137
123
  requirements:
138
- - - ! '>='
124
+ - - ">="
139
125
  - !ruby/object:Gem::Version
140
126
  version: '0'
141
127
  requirements: []
142
128
  rubyforge_project:
143
- rubygems_version: 2.4.6
129
+ rubygems_version: 2.4.5
144
130
  signing_key:
145
131
  specification_version: 4
146
132
  summary: Easily visualize progress of any Ruby task. A drop in replacement for Array.each.