rubymisc 0.0.3.2 → 0.0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  1 What is Rubymisc (Ruby miscellaneous | /ˈru:bi ˌmisəˈleiniəs/)
2
- Miscellaneous and humble tool-set of useful Ruby (RUBY_VERSION >= 1.9.3)
2
+ Miscellaneous and humble tool-set of useful Ruby (RUBY_VERSION >= 1.9.2)
3
3
 
4
4
  [https://secure.travis-ci.org/ipoval/rubymisc.png]
5
5
 
@@ -30,7 +30,7 @@ module Rubymisc
30
30
  end
31
31
 
32
32
  def hexcode
33
- /\A#(\h{3})\1?\z/
33
+ /\A#(\h{3}){1,2}\z/
34
34
  end
35
35
 
36
36
  def usd
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Rubymisc
4
- VERSION = '0.0.3.2'
4
+ VERSION = '0.0.3.3'
5
5
  end
@@ -50,7 +50,7 @@ describe Rubymisc::Regex do
50
50
  describe '.hexcode' do
51
51
  specify 'valid html hex code' do
52
52
  Rubymisc::Regex.hexcode.should match '#aaa'
53
- Rubymisc::Regex.hexcode.should match '#000000'
53
+ Rubymisc::Regex.hexcode.should match '#000AAA'
54
54
  Rubymisc::Regex.hexcode.should_not match 'fff'
55
55
  Rubymisc::Regex.hexcode.should_not match '#ggg'
56
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubymisc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.2
4
+ version: 0.0.3.3
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: 2011-12-13 00:00:00.000000000 Z
12
+ date: 2011-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2152435160 !ruby/object:Gem::Requirement
16
+ requirement: &2152009360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.8.0.rc1
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2152435160
24
+ version_requirements: *2152009360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &2152430260 !ruby/object:Gem::Requirement
27
+ requirement: &2152006660 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.2.2
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2152430260
35
+ version_requirements: *2152006660
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &2152423900 !ruby/object:Gem::Requirement
38
+ requirement: &2152004700 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.21
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152423900
46
+ version_requirements: *2152004700
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: simplecov
49
- requirement: &2152413800 !ruby/object:Gem::Requirement
49
+ requirement: &2152003480 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.5.4
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2152413800
57
+ version_requirements: *2152003480
58
58
  description: Miscellaneous and humble tool-set of useful Ruby.
59
59
  email:
60
60
  - ipoval@ya.ru