human_size_to_number 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.test_files = `git ls-files -- {spec}/*`.split("\n")
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency "actionpack", "~> 2.0.0"
23
22
  s.add_dependency "rake"
24
23
 
25
24
  s.add_development_dependency "rspec"
@@ -1,3 +1,3 @@
1
1
  module HumanSizeToNumber
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -5,6 +5,5 @@ $:.unshift ROOT_PATH unless $:.include? ROOT_PATH
5
5
 
6
6
  require "rubygems"
7
7
  require "rspec"
8
- require "active_support"
9
8
 
10
9
  require "lib/human_size_to_number"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: human_size_to_number
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - zedtux
@@ -17,26 +17,10 @@ cert_chain: []
17
17
 
18
18
  date: 2011-09-04 00:00:00 Z
19
19
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: actionpack
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 15
29
- segments:
30
- - 2
31
- - 0
32
- - 0
33
- version: 2.0.0
34
- type: :runtime
35
- version_requirements: *id001
36
20
  - !ruby/object:Gem::Dependency
37
21
  name: rake
38
22
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
40
24
  none: false
41
25
  requirements:
42
26
  - - ">="
@@ -46,11 +30,11 @@ dependencies:
46
30
  - 0
47
31
  version: "0"
48
32
  type: :runtime
49
- version_requirements: *id002
33
+ version_requirements: *id001
50
34
  - !ruby/object:Gem::Dependency
51
35
  name: rspec
52
36
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
54
38
  none: false
55
39
  requirements:
56
40
  - - ">="
@@ -60,11 +44,11 @@ dependencies:
60
44
  - 0
61
45
  version: "0"
62
46
  type: :development
63
- version_requirements: *id003
47
+ version_requirements: *id002
64
48
  - !ruby/object:Gem::Dependency
65
49
  name: rcov
66
50
  prerelease: false
67
- requirement: &id004 !ruby/object:Gem::Requirement
51
+ requirement: &id003 !ruby/object:Gem::Requirement
68
52
  none: false
69
53
  requirements:
70
54
  - - ">="
@@ -74,7 +58,7 @@ dependencies:
74
58
  - 0
75
59
  version: "0"
76
60
  type: :development
77
- version_requirements: *id004
61
+ version_requirements: *id003
78
62
  description: Convert a size string like 1.12KB to the number value in Bytes.
79
63
  email:
80
64
  - zedtux@zedroot.org