playtime 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ ## Usage
2
+
3
+ Using Playtime is incredibly simple. All you need to do is call to_playtime on an integer. Will return HH:MM:SS.
@@ -1,3 +1,3 @@
1
1
  module Playtime
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/playtime.rb CHANGED
@@ -7,10 +7,9 @@ class Integer
7
7
  end
8
8
 
9
9
 
10
- module Playtime
10
+ class Playtime
11
11
 
12
12
  def initialize(seconds)
13
- raise "imported"
14
13
  @time = seconds
15
14
  end
16
15
 
data/playtime.gemspec CHANGED
@@ -18,4 +18,4 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
- end
21
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: playtime
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brandon Hansen
@@ -26,6 +26,7 @@ extra_rdoc_files: []
26
26
  files:
27
27
  - .gitignore
28
28
  - Gemfile
29
+ - README.md
29
30
  - Rakefile
30
31
  - lib/playtime.rb
31
32
  - lib/playtime/version.rb