powerbar 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
- source "http://rubygems.org"
1
+ source :rubygems
2
2
 
3
3
  # Specify your gem's dependencies in powerbar.gemspec
4
4
  gemspec
5
+
6
+ gem "rake"
data/Rakefile CHANGED
@@ -1 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ task :default do
4
+ sh "ruby bin/powerbar-demo"
5
+ end
data/bin/powerbar-demo CHANGED
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ require 'rubygems'
3
4
  require 'powerbar'
5
+ require 'logger'
4
6
 
5
7
  # DEMO 1
6
8
  def demo_1
data/lib/powerbar.rb CHANGED
@@ -21,7 +21,7 @@
21
21
  #
22
22
 
23
23
  require 'powerbar/version'
24
- require 'ansi'
24
+ require 'ansi/terminal'
25
25
  require 'hashie/mash'
26
26
 
27
27
  #
@@ -1,3 +1,3 @@
1
1
  class Powerbar
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
data/powerbar.gemspec CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.push File.expand_path("../lib", __FILE__)
3
3
  require "powerbar/version"
4
4
 
5
5
  Gem::Specification.new do |s|
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.summary = %q{The last progressbar-library you'll ever need}
12
12
  s.description = %q{The last progressbar-library you'll ever need}
13
13
  s.required_ruby_version = ">= 1.9.2"
14
+ s.license = "MIT"
14
15
 
15
16
  s.add_dependency "ansi", "~> 1.4.0"
16
17
  s.add_dependency "hashie", ">= 1.1.0"
@@ -19,7 +20,4 @@ Gem::Specification.new do |s|
19
20
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
21
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
22
  s.require_paths = ["lib"]
22
-
23
- # s.add_development_dependency "rspec"
24
- # s.add_runtime_dependency "rest-client"
25
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: powerbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-05 00:00:00.000000000Z
12
+ date: 2012-09-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ansi
16
- requirement: &26372920 !ruby/object:Gem::Requirement
16
+ requirement: &15380180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.4.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *26372920
24
+ version_requirements: *15380180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hashie
27
- requirement: &26372460 !ruby/object:Gem::Requirement
27
+ requirement: &15379620 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.1.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *26372460
35
+ version_requirements: *15379620
36
36
  description: The last progressbar-library you'll ever need
37
37
  email:
38
38
  - moe@busyloop.net
@@ -51,7 +51,8 @@ files:
51
51
  - lib/powerbar/version.rb
52
52
  - powerbar.gemspec
53
53
  homepage: https://github.com/busyloop/powerbar
54
- licenses: []
54
+ licenses:
55
+ - MIT
55
56
  post_install_message:
56
57
  rdoc_options: []
57
58
  require_paths: