progress 1.1.2.1 → 1.1.3

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.
@@ -0,0 +1 @@
1
+ /*.gemspec
data/Rakefile CHANGED
@@ -1,8 +1,7 @@
1
- require 'rubygems'
2
1
  require 'rake'
3
2
  require 'jeweler'
4
3
  require 'rake/gem_ghost_task'
5
- require 'spec/rake/spectask'
4
+ require 'rspec/core/rake_task'
6
5
 
7
6
  name = 'progress'
8
7
 
@@ -19,9 +18,8 @@ end
19
18
  Jeweler::RubygemsDotOrgTasks.new
20
19
  Rake::GemGhostTask.new
21
20
 
22
- Spec::Rake::SpecTask.new(:spec) do |spec|
23
- spec.libs << 'lib' << 'spec'
24
- spec.spec_opts = ['--colour --format progress --loadby mtime --reverse']
25
- spec.spec_files = FileList['spec/**/*_spec.rb']
21
+ RSpec::Core::RakeTask.new(:spec) do |spec|
22
+ spec.rspec_opts = ['--colour --format progress']
23
+ spec.pattern = 'spec/**/*_spec.rb'
26
24
  end
27
25
  task :default => :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2.1
1
+ 1.1.3
@@ -140,11 +140,7 @@ class Progress
140
140
  end
141
141
 
142
142
  def io
143
- unless @io
144
- @io = $stderr
145
- @io.sync = true
146
- end
147
- @io
143
+ @io || $stderr
148
144
  end
149
145
 
150
146
  def io_tty?
@@ -5,16 +5,17 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{progress}
8
- s.version = "1.1.2.1"
8
+ s.version = "1.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ivan Kuchin"]
12
- s.date = %q{2010-12-15}
12
+ s.date = %q{2011-01-15}
13
13
  s.extra_rdoc_files = [
14
14
  "LICENSE.txt",
15
15
  "README.markdown"
16
16
  ]
17
17
  s.files = [
18
+ ".tmignore",
18
19
  "LICENSE.txt",
19
20
  "README.markdown",
20
21
  "Rakefile",
@@ -32,7 +33,7 @@ Gem::Specification.new do |s|
32
33
  s.homepage = %q{http://github.com/toy/progress}
33
34
  s.licenses = ["MIT"]
34
35
  s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.7}
36
+ s.rubygems_version = %q{1.4.1}
36
37
  s.summary = %q{Show progress of long running tasks}
37
38
  s.test_files = [
38
39
  "spec/progress_spec.rb",
@@ -40,7 +41,6 @@ Gem::Specification.new do |s|
40
41
  ]
41
42
 
42
43
  if s.respond_to? :specification_version then
43
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
44
44
  s.specification_version = 3
45
45
 
46
46
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -1,10 +1,3 @@
1
- begin
2
- require 'spec'
3
- rescue LoadError
4
- require 'rubygems'
5
- gem 'rspec'
6
- require 'spec'
7
- end
8
-
9
- $:.unshift(File.dirname(__FILE__) + '/../lib')
1
+ $:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
2
+ require 'rspec'
10
3
  require 'progress'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: progress
3
3
  version: !ruby/object:Gem::Version
4
- hash: 93
5
- prerelease: false
4
+ hash: 21
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- - 1
11
- version: 1.1.2.1
9
+ - 3
10
+ version: 1.1.3
12
11
  platform: ruby
13
12
  authors:
14
13
  - Ivan Kuchin
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-12-15 00:00:00 +03:00
18
+ date: 2011-01-15 00:00:00 +03:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -73,6 +72,7 @@ extra_rdoc_files:
73
72
  - LICENSE.txt
74
73
  - README.markdown
75
74
  files:
75
+ - .tmignore
76
76
  - LICENSE.txt
77
77
  - README.markdown
78
78
  - Rakefile
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  requirements: []
117
117
 
118
118
  rubyforge_project:
119
- rubygems_version: 1.3.7
119
+ rubygems_version: 1.4.1
120
120
  signing_key:
121
121
  specification_version: 3
122
122
  summary: Show progress of long running tasks