wdd-ruby-ext 0.6.0 → 0.6.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.
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ree-1.8.7-2012.02
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
- source :gemcutter, :github
1
+ source 'https://rubygems.org'
2
+
2
3
 
3
4
  gem 'wdd-ruby-ext', :path=>"."
data/Gemfile.lock CHANGED
@@ -1,13 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wdd-ruby-ext (0.5.1)
4
+ wdd-ruby-ext (0.6.0)
5
5
  eventmachine (~> 0.12.10)
6
- nokogiri (~> 1.4.1)
7
- wdd-ruby-ext
6
+ nokogiri (>= 1.4.1)
8
7
 
9
8
  GEM
10
- remote: http://rubygems.org/
9
+ remote: https://rubygems.org/
11
10
  specs:
12
11
  eventmachine (0.12.10)
13
12
  nokogiri (1.4.7)
@@ -17,3 +16,6 @@ PLATFORMS
17
16
 
18
17
  DEPENDENCIES
19
18
  wdd-ruby-ext!
19
+
20
+ BUNDLED WITH
21
+ 1.10.1
data/Rakefile CHANGED
@@ -20,28 +20,3 @@ rescue LoadError
20
20
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
21
21
  end
22
22
 
23
- require 'spec/rake/spectask'
24
- Spec::Rake::SpecTask.new(:spec) do |spec|
25
- spec.libs << 'lib' << 'spec'
26
- spec.spec_files = FileList['spec/**/*_spec.rb']
27
- end
28
-
29
- Spec::Rake::SpecTask.new(:rcov) do |spec|
30
- spec.libs << 'lib' << 'spec'
31
- spec.pattern = 'spec/**/*_spec.rb'
32
- spec.rcov = true
33
- end
34
-
35
- task :spec => :check_dependencies
36
-
37
- task :default => :spec
38
-
39
- require 'rake/rdoctask'
40
- Rake::RDocTask.new do |rdoc|
41
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
42
-
43
- rdoc.rdoc_dir = 'rdoc'
44
- rdoc.title = "wdd-ruby-ext #{version}"
45
- rdoc.rdoc_files.include('README*')
46
- rdoc.rdoc_files.include('lib/**/*.rb')
47
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.2
@@ -49,7 +49,7 @@ module WDD
49
49
 
50
50
  # Lightens the color by +percentage+
51
51
  def lighten percentage
52
- raise "Invalid multiplier #{multiplier}. Should be >= 0 and <= 100." if percentage < 0 || percentage > 100
52
+ raise "Invalid percentage #{percentage}. Should be >= 0 and <= 100." if percentage < 0 || percentage > 100
53
53
  multiplier = percentage.to_f / 100
54
54
  new_red = (@red+(multiplier*(255-@red))).min(255).to_i
55
55
  new_green = (@green+(multiplier*(255-@green))).min(255).to_i
data/wdd-ruby-ext.gemspec CHANGED
@@ -4,20 +4,21 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{wdd-ruby-ext}
8
- s.version = "0.6.0"
7
+ s.name = "wdd-ruby-ext"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["shock"]
12
- s.date = %q{2012-09-14}
13
- s.description = %q{Some of these are borrowed. Some are original. This gem simply provides a single place to source control them all for incorporation into other projects.}
14
- s.email = %q{github@wdoughty.net}
12
+ s.date = "2015-05-30"
13
+ s.description = "Some of these are borrowed. Some are original. This gem simply provides a single place to source control them all for incorporation into other projects."
14
+ s.email = "github@wdoughty.net"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
17
  "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
+ ".ruby-version",
21
22
  ".rvmrc",
22
23
  "Gemfile",
23
24
  "Gemfile.lock",
@@ -53,13 +54,12 @@ Gem::Specification.new do |s|
53
54
  "spec/wdd-ruby-ext_spec.rb",
54
55
  "wdd-ruby-ext.gemspec"
55
56
  ]
56
- s.homepage = %q{http://github.com/shock/wdd-ruby-ext}
57
+ s.homepage = "http://github.com/shock/wdd-ruby-ext"
57
58
  s.require_paths = ["lib"]
58
- s.rubygems_version = %q{1.3.7}
59
- s.summary = %q{Handy extensions to the Ruby base classes and other utilities.}
59
+ s.rubygems_version = "1.8.15"
60
+ s.summary = "Handy extensions to the Ruby base classes and other utilities."
60
61
 
61
62
  if s.respond_to? :specification_version then
62
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
63
63
  s.specification_version = 3
64
64
 
65
65
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wdd-ruby-ext
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease: false
4
+ hash: 3
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 2
10
+ version: 0.6.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - shock
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-14 00:00:00 -05:00
19
- default_executable:
18
+ date: 2015-05-30 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -29,9 +28,9 @@ dependencies:
29
28
  - 0
30
29
  version: "0"
31
30
  name: wdd-ruby-ext
32
- requirement: *id001
33
- type: :runtime
34
31
  prerelease: false
32
+ type: :runtime
33
+ requirement: *id001
35
34
  - !ruby/object:Gem::Dependency
36
35
  version_requirements: &id002 !ruby/object:Gem::Requirement
37
36
  none: false
@@ -44,9 +43,9 @@ dependencies:
44
43
  - 3
45
44
  version: "1.3"
46
45
  name: rspec
47
- requirement: *id002
48
- type: :development
49
46
  prerelease: false
47
+ type: :development
48
+ requirement: *id002
50
49
  - !ruby/object:Gem::Dependency
51
50
  version_requirements: &id003 !ruby/object:Gem::Requirement
52
51
  none: false
@@ -60,9 +59,9 @@ dependencies:
60
59
  - 1
61
60
  version: 1.4.1
62
61
  name: nokogiri
63
- requirement: *id003
64
- type: :runtime
65
62
  prerelease: false
63
+ type: :runtime
64
+ requirement: *id003
66
65
  - !ruby/object:Gem::Dependency
67
66
  version_requirements: &id004 !ruby/object:Gem::Requirement
68
67
  none: false
@@ -76,9 +75,9 @@ dependencies:
76
75
  - 10
77
76
  version: 0.12.10
78
77
  name: eventmachine
79
- requirement: *id004
80
- type: :runtime
81
78
  prerelease: false
79
+ type: :runtime
80
+ requirement: *id004
82
81
  description: Some of these are borrowed. Some are original. This gem simply provides a single place to source control them all for incorporation into other projects.
83
82
  email: github@wdoughty.net
84
83
  executables: []
@@ -90,6 +89,7 @@ extra_rdoc_files:
90
89
  - README.rdoc
91
90
  files:
92
91
  - .document
92
+ - .ruby-version
93
93
  - .rvmrc
94
94
  - Gemfile
95
95
  - Gemfile.lock
@@ -124,7 +124,6 @@ files:
124
124
  - spec/spec_helper.rb
125
125
  - spec/wdd-ruby-ext_spec.rb
126
126
  - wdd-ruby-ext.gemspec
127
- has_rdoc: true
128
127
  homepage: http://github.com/shock/wdd-ruby-ext
129
128
  licenses: []
130
129
 
@@ -154,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
153
  requirements: []
155
154
 
156
155
  rubyforge_project:
157
- rubygems_version: 1.3.7
156
+ rubygems_version: 1.8.15
158
157
  signing_key:
159
158
  specification_version: 3
160
159
  summary: Handy extensions to the Ruby base classes and other utilities.