tiedye 0.2.2 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 950fa05ba21ab6cc546539b6e4ba1f0b7d6fb63f
4
- data.tar.gz: 1290ffb37cde3bfb9c614a4fbee5a41b4f1f3871
2
+ SHA256:
3
+ metadata.gz: 032bd326ce9f19a110cf5d0fc1cc08bb6f93096bf103616c18a77bb321f41018
4
+ data.tar.gz: 839f09440dd8fdbb28af7177a7c4c4487736626685d258455a78ef4532d5152a
5
5
  SHA512:
6
- metadata.gz: a510acda41bf4a023c7889ed4a53bc37df323a28da74f734381ca11e0742a2b44c2fcb7cca61edf8d7523342fac65afabcc5c3c5f6a92e23850556787a9a3177
7
- data.tar.gz: 8173ebfc061469ee6b43912c73cc5ba2b65c60202a74233bb0857d4265be550f64cdde30dd491e3eef728afeef585e7af15936036c2839454964bccdccff5ade
6
+ metadata.gz: 4e4d638dc3e7041856c40d04999935a4d6e0e13a7466c13af59a18076291158eddd13330920f5e8a1cb03818fad92bb4e38ebb10c6d9e9c07c58f47a6f03c573
7
+ data.tar.gz: f0cbf354e5e3432c02a3e868a7dd661197a2efa614b6515d69a5b1591e351bc655c97d1f0e7829e3c2655a6e4e8e251055bc84d5edcdf66b9f5dbcf776eddfe9
data/README.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # Tiedye
2
2
 
3
- [![Build Status](https://travis-ci.org/jemaddux/tiedye.svg?branch=master)](https://travis-ci.org/jemaddux/tiedye)
4
- [![Code Climate](https://codeclimate.com/github/jemaddux/tiedye/badges/gpa.svg)](https://codeclimate.com/github/jemaddux/tiedye)
5
- [![Test Coverage](https://codeclimate.com/github/jemaddux/tiedye/badges/coverage.svg)](https://codeclimate.com/github/jemaddux/tiedye)
6
-
7
3
  ## Installation
8
4
 
9
5
  Add this line to your application's Gemfile:
@@ -18,6 +14,14 @@ Or install it yourself:
18
14
 
19
15
  $ gem install tiedye
20
16
 
17
+ ## Building
18
+
19
+ # Update Tiedye::Version
20
+
21
+ $ gem build tiedye.gemspec
22
+
23
+ $ gem push tiedye-0.2.3.gem
24
+
21
25
  ## Usage
22
26
 
23
27
  Tiedye.all_colors.count => 504
@@ -43,3 +47,7 @@ Or install it yourself:
43
47
  3. Commit your changes (`git commit -am 'Add some feature'`)
44
48
  4. Push to the branch (`git push origin my-new-feature`)
45
49
  5. Create new Pull Request
50
+
51
+ ## Author
52
+
53
+ Authored by John Maddux. [jemaddux.com](https://jemaddux.com/)
@@ -1,3 +1,3 @@
1
1
  module Tiedye
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/lib/tiedye.rb CHANGED
@@ -6,13 +6,6 @@ module Tiedye
6
6
  hex = [hex[0..1], hex[2..3], hex[4..5]]
7
7
  options = {"FF" => 255, "00" => 0}
8
8
  return hex.collect{|h| options[h]}
9
- # hex = to_6_hex(hex)
10
- # hex_pairs = hex.scan(/.{1,2}/)
11
- # rgb = []
12
- # rgb[0] = hex_pair_to_rgb_digit(hex_pairs[0])
13
- # rgb[1] = hex_pair_to_rgb_digit(hex_pairs[1])
14
- # rgb[2] = hex_pair_to_rgb_digit(hex_pairs[2])
15
- # return rgb
16
9
  end
17
10
 
18
11
  def self.to_hex(r = "x", g = "x", b = "x")
@@ -602,11 +595,3 @@ private
602
595
  "yellow4" => "#8b8b00",
603
596
  "yellow_green" => "#9acd32"}
604
597
  end
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
File without changes
File without changes
data/test/test_helper.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  $:.unshift('.')
2
2
 
3
+ require "codeclimate-test-reporter"
4
+ CodeClimate::TestReporter.start
5
+
3
6
  require 'minitest/autorun'
4
7
  require 'minitest/pride'
5
8
  require File.expand_path("../../lib/tiedye.rb", __FILE__)
data/tiedye.gemspec CHANGED
@@ -18,7 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
21
+ spec.add_dependency "bundler", ">= 2.2.33"
22
+
23
+ spec.add_development_dependency "bundler", ">= 2.2.33"
22
24
  spec.add_development_dependency "rake"
23
25
  spec.add_development_dependency "minitest", "~> 4.7.3"
24
26
  spec.add_development_dependency "codeclimate-test-reporter"
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiedye
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Maddux
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.2.33
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
18
25
  - !ruby/object:Gem::Version
19
- version: '1.3'
26
+ version: 2.2.33
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.2.33
20
34
  type: :development
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
- - - "~>"
38
+ - - ">="
25
39
  - !ruby/object:Gem::Version
26
- version: '1.3'
40
+ version: 2.2.33
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -89,7 +103,7 @@ homepage: https://github.com/jemaddux/tiedye
89
103
  licenses:
90
104
  - MIT
91
105
  metadata: {}
92
- post_install_message:
106
+ post_install_message:
93
107
  rdoc_options: []
94
108
  require_paths:
95
109
  - lib
@@ -104,13 +118,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
118
  - !ruby/object:Gem::Version
105
119
  version: '0'
106
120
  requirements: []
107
- rubyforge_project:
108
- rubygems_version: 2.4.4
109
- signing_key:
121
+ rubygems_version: 3.5.21
122
+ signing_key:
110
123
  specification_version: 4
111
124
  summary: Colors!
112
125
  test_files:
113
126
  - test/lib/tiedye/version_test.rb
114
127
  - test/lib/tiedye_test.rb
115
128
  - test/test_helper.rb
116
- has_rdoc: