tempus 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 881371e25c165d5b162e1d6cf317906a9fe747b2
4
+ data.tar.gz: 7983d7e0ea4261f4966365aa60878dc93b3124ce
5
+ SHA512:
6
+ metadata.gz: 804898adb6c58baa345ff8e92f7d12970b5feda6a6a0ead411969d14e037d662b2ee2281ff51247491f90a88eb460c405f1c7de4f226717ffc7593c6086503ce
7
+ data.tar.gz: 03b9816ac424bc01bf482ec9a3ae886479c52d8a495c1b2566a142e8a82a65164d515822aca6cd86a4cca692b717785dc6c68c6a297548c786d73761927de721
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 1.9.2
5
+ - 2.0.0
data/Gemfile CHANGED
@@ -3,8 +3,12 @@ source "http://rubygems.org"
3
3
  gem "activesupport", ">= 2.3.5"
4
4
  gem "i18n"
5
5
 
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
6
8
  group :development do
7
- gem "rspec", "~> 2.3.0"
8
- gem "bundler", "~> 1.0.0"
9
- gem "jeweler", "~> 1.7.0"
9
+ gem "rspec", "~> 2.8.0"
10
+ gem "rdoc", "~> 3.12"
11
+ gem "bundler", "~> 1.0"
12
+ gem "jeweler", "~> 2.0.0"
13
+ gem "simplecov", ">= 0"
10
14
  end
@@ -1,36 +1,86 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activesupport (3.1.3)
5
- multi_json (~> 1.0)
4
+ activesupport (4.0.2)
5
+ i18n (~> 0.6, >= 0.6.4)
6
+ minitest (~> 4.2)
7
+ multi_json (~> 1.3)
8
+ thread_safe (~> 0.1)
9
+ tzinfo (~> 0.3.37)
10
+ addressable (2.3.5)
11
+ atomic (1.1.14)
12
+ builder (3.2.2)
13
+ descendants_tracker (0.0.3)
6
14
  diff-lcs (1.1.3)
7
- git (1.2.5)
8
- i18n (0.6.0)
9
- jeweler (1.7.0)
10
- bundler (~> 1.0)
15
+ docile (1.1.2)
16
+ faraday (0.9.0)
17
+ multipart-post (>= 1.2, < 3)
18
+ git (1.2.6)
19
+ github_api (0.11.1)
20
+ addressable (~> 2.3)
21
+ descendants_tracker (~> 0.0.1)
22
+ faraday (~> 0.8, < 0.10)
23
+ hashie (>= 1.2)
24
+ multi_json (>= 1.7.5, < 2.0)
25
+ nokogiri (~> 1.6.0)
26
+ oauth2
27
+ hashie (2.0.5)
28
+ highline (1.6.20)
29
+ i18n (0.6.9)
30
+ jeweler (2.0.0)
31
+ builder
32
+ bundler (>= 1.0)
11
33
  git (>= 1.2.5)
34
+ github_api
35
+ highline (>= 1.6.15)
36
+ nokogiri (>= 1.5.10)
12
37
  rake
13
38
  rdoc
14
- json (1.6.5)
15
- multi_json (1.0.4)
16
- rake (0.9.2.2)
17
- rdoc (3.12)
39
+ json (1.8.1)
40
+ jwt (0.1.11)
41
+ multi_json (>= 1.5)
42
+ mini_portile (0.5.2)
43
+ minitest (4.7.5)
44
+ multi_json (1.8.4)
45
+ multi_xml (0.5.5)
46
+ multipart-post (2.0.0)
47
+ nokogiri (1.6.1)
48
+ mini_portile (~> 0.5.0)
49
+ oauth2 (0.9.3)
50
+ faraday (>= 0.8, < 0.10)
51
+ jwt (~> 0.1.8)
52
+ multi_json (~> 1.3)
53
+ multi_xml (~> 0.5)
54
+ rack (~> 1.2)
55
+ rack (1.5.2)
56
+ rake (10.1.1)
57
+ rdoc (3.12.2)
18
58
  json (~> 1.4)
19
- rspec (2.3.0)
20
- rspec-core (~> 2.3.0)
21
- rspec-expectations (~> 2.3.0)
22
- rspec-mocks (~> 2.3.0)
23
- rspec-core (2.3.1)
24
- rspec-expectations (2.3.0)
59
+ rspec (2.8.0)
60
+ rspec-core (~> 2.8.0)
61
+ rspec-expectations (~> 2.8.0)
62
+ rspec-mocks (~> 2.8.0)
63
+ rspec-core (2.8.0)
64
+ rspec-expectations (2.8.0)
25
65
  diff-lcs (~> 1.1.2)
26
- rspec-mocks (2.3.0)
66
+ rspec-mocks (2.8.0)
67
+ simplecov (0.8.2)
68
+ docile (~> 1.1.0)
69
+ multi_json
70
+ simplecov-html (~> 0.8.0)
71
+ simplecov-html (0.8.0)
72
+ thread_safe (0.1.3)
73
+ atomic
74
+ tzinfo (0.3.38)
27
75
 
28
76
  PLATFORMS
29
77
  ruby
30
78
 
31
79
  DEPENDENCIES
32
80
  activesupport (>= 2.3.5)
33
- bundler (~> 1.0.0)
81
+ bundler (~> 1.0)
34
82
  i18n
35
- jeweler (~> 1.7.0)
36
- rspec (~> 2.3.0)
83
+ jeweler (~> 2.0.0)
84
+ rdoc (~> 3.12)
85
+ rspec (~> 2.8.0)
86
+ simplecov
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Danilo Jeremias da Silva
1
+ Copyright (c) 2014 Danilo Jeremias da Silva
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,5 +1,5 @@
1
1
  = tempus
2
-
2
+ {<img src="https://badge.fury.io/rb/tempus.png" alt="Gem Version" />}[http://badge.fury.io/rb/tempus]
3
3
  Gem to efficiently manipulate the time, adding, subtracting and converting hours.
4
4
 
5
5
  == EXAMPLE USAGE
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
18
18
  gem.license = "MIT"
19
19
  gem.summary = %Q{Gem to manipulate efficiently time}
20
20
  gem.description = %Q{Gem to efficiently manipulate the time, adding, subtracting and converting hours.}
21
- gem.email = "danilo.silva@euax.com.br"
21
+ gem.email = "daniloj.dasilva@gmail.com"
22
22
  gem.authors = ["Danilo Jeremias da Silva"]
23
23
  end
24
24
  Jeweler::RubygemsDotOrgTasks.new
@@ -29,9 +29,10 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
29
29
  spec.pattern = FileList['spec/**/*_spec.rb']
30
30
  end
31
31
 
32
- RSpec::Core::RakeTask.new(:rcov) do |spec|
33
- spec.pattern = 'spec/**/*_spec.rb'
34
- spec.rcov = true
32
+ desc "Code coverage detail"
33
+ task :simplecov do
34
+ ENV['COVERAGE'] = "true"
35
+ Rake::Task['spec'].execute
35
36
  end
36
37
 
37
38
  task :default => :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -37,19 +37,25 @@ class Tempus
37
37
  ## >> horas.to_s("%H*%M*%S")
38
38
  ## => "-30*05*03"
39
39
  def to_s(format="%H:%M:%S")
40
- h = ("%02d" % convert[0].to_i.abs)
41
- m = ("%02d" % convert[1].to_i.abs)
42
- s = ("%02d" % convert[2].to_i.abs)
43
- n = @value<0 ? "-" : ""
44
- str = format.to_s.gsub("%h","%H").gsub("%m","%M").gsub("%s","%S").gsub("%hh","%H").gsub("%mm","%M").gsub("%ss","%S")
45
- str.gsub!("%H",h)
46
- str.gsub!("%HH",h)
47
- str.gsub!("%M",m)
48
- str.gsub!("%MM",m)
49
- str.gsub!("%S",s)
50
- str.gsub!("%SS",s)
51
- str = n + str unless(str=="")
52
- str
40
+ h, m, s = ("%02d" % hours.to_i.abs), ("%02d" % minutes.to_i.abs), ("%02d" % seconds.to_i.abs)
41
+ text = format.to_s
42
+ [
43
+ ["%h", "%H"],
44
+ ["%m", "%M"],
45
+ ["%s", "%S"],
46
+ ["%hh", "%H"],
47
+ ["%mm", "%M"],
48
+ ["%ss", "%S"],
49
+ ["%H", h],
50
+ ["%HH", h],
51
+ ["%M", m],
52
+ ["%MM", m],
53
+ ["%S", s],
54
+ ["%SS", s]
55
+ ].each{|string, replace|text.gsub!(string,replace) }
56
+
57
+ return (negative? ? "-" : "") + text unless(text=="")
58
+ text
53
59
  end
54
60
 
55
61
  def convert
@@ -129,17 +135,26 @@ class Tempus
129
135
  end
130
136
  end
131
137
 
132
- #Criando método para conversão para Inteiro
138
+ def operation(value, operation, other_value)
139
+ if(value.class == Tempus)
140
+ value = Tempus.new(@value - v.value_in_seconds)
141
+ elsif(value.class == NilClass)
142
+ self
143
+ elsif(v.class == String)
144
+ Tempus.new(@value - v.to_tempus.value_in_seconds)
145
+ else
146
+ Tempus.new(@value - v)
147
+ end
148
+ end
149
+
133
150
  def to_i
134
151
  value_in_seconds
135
152
  end
136
153
 
137
- #Método para verificar se o valor é negativo
138
154
  def negative?
139
155
  to_i < 0
140
156
  end
141
157
 
142
- #Método para verificar se o valor é positivo
143
158
  def positive?
144
159
  to_i >= 0
145
160
  end
@@ -149,7 +164,7 @@ class Tempus
149
164
  end
150
165
 
151
166
  def inspect
152
- "<Tempus:#{self.object_id} seconds=#{value}, formated=#{to_s}>"
167
+ "<Tempus seconds=#{value}, formated=#{to_s}>"
153
168
  end
154
169
 
155
170
  def ==(object)
@@ -1,12 +1,16 @@
1
+ # encoding: UTF-8
1
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
3
  $LOAD_PATH.unshift(File.dirname(__FILE__))
3
4
  require 'rspec'
5
+ require "simplecov"
6
+ SimpleCov.start do
7
+ add_filter "/spec/"
8
+ end
4
9
  require 'tempus'
5
-
6
10
  # Requires supporting files with custom matchers and macros, etc,
7
11
  # in ./support/ and its subdirectories.
8
12
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
13
 
10
14
  RSpec.configure do |config|
11
-
15
+
12
16
  end
@@ -7,12 +7,12 @@ describe "Tempus" do
7
7
  @negative_hours = Tempus.new(-30.hours - 5.minutes - 3.seconds)
8
8
  end
9
9
 
10
- it "new" do
10
+ it "validates the object creation" do
11
11
  @hours.should_not == nil
12
12
  @negative_hours.should_not == nil
13
13
  end
14
14
 
15
- it "set" do
15
+ it "set value" do
16
16
  hours = @hours.clone
17
17
  hours.object_id.should_not == @hours.object_id
18
18
  hours.set(125).should == 125.0
@@ -25,7 +25,7 @@ describe "Tempus" do
25
25
  hours.to_s("%M:%S").should == "00:00"
26
26
  end
27
27
 
28
- it "to_s" do
28
+ it "test output" do
29
29
  @hours.respond_to?("to_s").should == true
30
30
  @hours.to_s("").should == ""
31
31
  @hours.to_s().should == "30:05:03"
@@ -44,6 +44,16 @@ describe "Tempus" do
44
44
  #Por enquanto existe este bug
45
45
  @negative_hours.to_s("hours Utilizadas: %H:%M").should == "-hours Utilizadas: 30:05" #FIXME: Corrigir este problema.
46
46
  @negative_hours.to_s("%H:%M:%S").should == "-30:05:03"
47
+
48
+ @hours.human.should == "30 horas 5 minutos e 3 segundos"
49
+ @negative_hours.human.should == "menos 30 horas 5 minutos e 3 segundos"
50
+
51
+ @hours.positive?.should == true
52
+ @hours.negative?.should == false
53
+
54
+ @negative_hours.positive?.should == false
55
+ @negative_hours.negative?.should == true
56
+
47
57
  end
48
58
 
49
59
  it "plus" do
@@ -66,10 +76,38 @@ describe "Tempus" do
66
76
  (@hours - @negative_hours ).to_s.should == "60:10:06"
67
77
  end
68
78
 
69
- it "String to Tempus" do
70
- "12:05:35".to_tempus.value.should == Tempus.new(12.hours + 5.minutes + 35.seconds).value
71
- "01:00:01".to_tempus.value.should == Tempus.new(1.hours + 1.seconds).value
72
- "30:5:3".to_tempus.should == @hours
73
- "-30:5:3".to_tempus.should == @negative_hours
79
+ it "validates the value in methods" do
80
+ 1.day.to_tempus.value_in_days.should == 1
81
+ 1.day.to_tempus.to_xls_time.should == 1
82
+ 2.hours.to_tempus.value_in_hours.should == 2
83
+ 30.minutes.to_tempus.value_in_hours.should == 0.5
84
+ 30.minutes.to_tempus.value_in_minutes.should == 30
85
+ end
86
+
87
+
88
+ describe "Other Class" do
89
+ it "String to Tempus" do
90
+ "12:05:35".to_tempus.value.should == Tempus.new(12.hours + 5.minutes + 35.seconds).value
91
+ "01:00:01".to_tempus.value.should == Tempus.new(1.hours + 1.seconds).value
92
+ "30:5:3".to_tempus.should == @hours
93
+ "-30:5:3".to_tempus.should == @negative_hours
94
+ end
95
+
96
+ it "Fixnum to Tempus" do
97
+ 3723.to_tempus.to_s.should == "01:02:03"
98
+ 3723.to_tempus.inspect.should == "<Tempus seconds=3723.0, formated=01:02:03>"
99
+ end
100
+
101
+ it "Float to Tempus" do
102
+ 3723.0.to_tempus.to_string.should == "01:02:03"
103
+ end
104
+
105
+ it "Time to Tempus" do
106
+ Time.parse("2014-01-01 01:02:03").to_tempus.to_i.should == 3723
107
+ end
108
+
109
+ it "nil to Tempus" do
110
+ nil.to_tempus.value.should == 0
111
+ end
74
112
  end
75
113
  end
@@ -0,0 +1,71 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: tempus 0.2.0 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "tempus"
9
+ s.version = "0.2.0"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Danilo Jeremias da Silva"]
14
+ s.date = "2014-01-23"
15
+ s.description = "Gem to efficiently manipulate the time, adding, subtracting and converting hours."
16
+ s.email = "daniloj.dasilva@gmail.com"
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ ".travis.yml",
25
+ "Gemfile",
26
+ "Gemfile.lock",
27
+ "LICENSE.txt",
28
+ "README.rdoc",
29
+ "Rakefile",
30
+ "VERSION",
31
+ "lib/tempus.rb",
32
+ "spec/spec_helper.rb",
33
+ "spec/tempus_spec.rb",
34
+ "tempus.gemspec"
35
+ ]
36
+ s.homepage = "http://github.com/dannnylo/tempus"
37
+ s.licenses = ["MIT"]
38
+ s.rubygems_version = "2.2.1"
39
+ s.summary = "Gem to manipulate efficiently time"
40
+
41
+ if s.respond_to? :specification_version then
42
+ s.specification_version = 4
43
+
44
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
46
+ s.add_runtime_dependency(%q<i18n>, [">= 0"])
47
+ s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
48
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
49
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
50
+ s.add_development_dependency(%q<jeweler>, ["~> 2.0.0"])
51
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
52
+ else
53
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
54
+ s.add_dependency(%q<i18n>, [">= 0"])
55
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
56
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
57
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
58
+ s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
59
+ s.add_dependency(%q<simplecov>, [">= 0"])
60
+ end
61
+ else
62
+ s.add_dependency(%q<activesupport>, [">= 2.3.5"])
63
+ s.add_dependency(%q<i18n>, [">= 0"])
64
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
65
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
66
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
67
+ s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
68
+ s.add_dependency(%q<simplecov>, [">= 0"])
69
+ end
70
+ end
71
+
metadata CHANGED
@@ -1,82 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tempus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Danilo Jeremias da Silva
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-01-24 00:00:00.000000000Z
11
+ date: 2014-01-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
16
- requirement: &18810960 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.3.5
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *18810960
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.3.5
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: i18n
27
- requirement: &18810440 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *18810440
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: rspec
38
- requirement: &18809920 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.8.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
40
51
  requirements:
41
- - - ~>
52
+ - - "~>"
42
53
  - !ruby/object:Gem::Version
43
- version: 2.3.0
54
+ version: 2.8.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
44
62
  type: :development
45
63
  prerelease: false
46
- version_requirements: *18809920
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.12'
47
69
  - !ruby/object:Gem::Dependency
48
70
  name: bundler
49
- requirement: &18809380 !ruby/object:Gem::Requirement
50
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
51
72
  requirements:
52
- - - ~>
73
+ - - "~>"
53
74
  - !ruby/object:Gem::Version
54
- version: 1.0.0
75
+ version: '1.0'
55
76
  type: :development
56
77
  prerelease: false
57
- version_requirements: *18809380
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.0'
58
83
  - !ruby/object:Gem::Dependency
59
84
  name: jeweler
60
- requirement: &18808880 !ruby/object:Gem::Requirement
61
- none: false
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 2.0.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
62
93
  requirements:
63
- - - ~>
94
+ - - "~>"
64
95
  - !ruby/object:Gem::Version
65
- version: 1.7.0
96
+ version: 2.0.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
66
104
  type: :development
67
105
  prerelease: false
68
- version_requirements: *18808880
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
69
111
  description: Gem to efficiently manipulate the time, adding, subtracting and converting
70
112
  hours.
71
- email: danilo.silva@euax.com.br
113
+ email: daniloj.dasilva@gmail.com
72
114
  executables: []
73
115
  extensions: []
74
116
  extra_rdoc_files:
75
117
  - LICENSE.txt
76
118
  - README.rdoc
77
119
  files:
78
- - .document
79
- - .rspec
120
+ - ".document"
121
+ - ".rspec"
122
+ - ".travis.yml"
80
123
  - Gemfile
81
124
  - Gemfile.lock
82
125
  - LICENSE.txt
@@ -86,32 +129,29 @@ files:
86
129
  - lib/tempus.rb
87
130
  - spec/spec_helper.rb
88
131
  - spec/tempus_spec.rb
132
+ - tempus.gemspec
89
133
  homepage: http://github.com/dannnylo/tempus
90
134
  licenses:
91
135
  - MIT
136
+ metadata: {}
92
137
  post_install_message:
93
138
  rdoc_options: []
94
139
  require_paths:
95
140
  - lib
96
141
  required_ruby_version: !ruby/object:Gem::Requirement
97
- none: false
98
142
  requirements:
99
- - - ! '>='
143
+ - - ">="
100
144
  - !ruby/object:Gem::Version
101
145
  version: '0'
102
- segments:
103
- - 0
104
- hash: -1063616463208382372
105
146
  required_rubygems_version: !ruby/object:Gem::Requirement
106
- none: false
107
147
  requirements:
108
- - - ! '>='
148
+ - - ">="
109
149
  - !ruby/object:Gem::Version
110
150
  version: '0'
111
151
  requirements: []
112
152
  rubyforge_project:
113
- rubygems_version: 1.8.6
153
+ rubygems_version: 2.2.1
114
154
  signing_key:
115
- specification_version: 3
155
+ specification_version: 4
116
156
  summary: Gem to manipulate efficiently time
117
157
  test_files: []