glitch-time 0.0.2 → 0.0.5

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.
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use default@ruby-1.9.2-p290
data/glitch-time.gemspec CHANGED
@@ -4,9 +4,9 @@ require "glitch-time/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "glitch-time"
7
- s.version = "0.0.2"
7
+ s.version = Glitch::Time::VERSION
8
8
  s.authors = ["Simon Peck"]
9
- s.email = ""
9
+ s.email = [""]
10
10
  s.homepage = ""
11
11
  s.summary = %q{This is a port of the Glitch time converter.}
12
12
  s.description = %q{The glitch time and date specification is here: http://api.glitch.com/docs/time/}
@@ -17,8 +17,4 @@ Gem::Specification.new do |s|
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
-
21
- # specify any dependencies here; for example:
22
- # s.add_development_dependency "rspec"
23
- # s.add_runtime_dependency "rest-client"
24
20
  end
@@ -0,0 +1,5 @@
1
+ module Glitch
2
+ module Time
3
+ VERSION = "0.0.5"
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ require "glitch_time"
2
+ require "glitch-time/version"
3
+
4
+ module Glitch
5
+ module Time
6
+ # Your code goes here...
7
+ end
8
+ end
data/lib/glitch_time.rb CHANGED
@@ -11,6 +11,7 @@
11
11
  # There are 10 real seconds in a game minute.
12
12
  #
13
13
  # The Glitch epoch began at 1238562000 Unix time.
14
+ require File.join('', File.dirname(__FILE__), 'glitch_time')
14
15
 
15
16
  class GlitchTime
16
17
  GAME_EPOCH = 1238562000
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glitch-time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,23 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-14 00:00:00.000000000Z
12
+ date: 2011-09-16 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ! 'The glitch time and date specification is here: http://api.glitch.com/docs/time/'
15
- email: ''
15
+ email:
16
+ - ''
16
17
  executables: []
17
18
  extensions: []
18
19
  extra_rdoc_files: []
19
20
  files:
20
- - .document
21
21
  - .gitignore
22
+ - .rvmrc
22
23
  - Gemfile
23
- - Gemfile.lock
24
24
  - LICENSE.txt
25
25
  - README.rdoc
26
26
  - Rakefile
27
- - VERSION
28
27
  - glitch-time.gemspec
28
+ - lib/glitch-time.rb
29
+ - lib/glitch-time/version.rb
29
30
  - lib/glitch_time.rb
30
31
  - test/glitch_time_test.rb
31
32
  homepage: ''
@@ -48,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
49
  version: '0'
49
50
  requirements: []
50
51
  rubyforge_project: glitch-time
51
- rubygems_version: 1.8.6
52
+ rubygems_version: 1.8.10
52
53
  signing_key:
53
54
  specification_version: 3
54
55
  summary: This is a port of the Glitch time converter.
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/Gemfile.lock DELETED
@@ -1,22 +0,0 @@
1
- raGEM
2
- remote: http://rubygems.org/
3
- specs:
4
- git (1.2.5)
5
- jeweler (1.6.4)
6
- bundler (~> 1.0)
7
- git (>= 1.2.5)
8
- rake
9
- rake (0.9.2)
10
- rcov (0.9.10)
11
- rdoc (3.9.4)
12
- shoulda (2.11.3)
13
-
14
- PLATFORMS
15
- ruby
16
-
17
- DEPENDENCIES
18
- bundler (~> 1.0.0)
19
- jeweler (~> 1.6.4)
20
- rcov
21
- rdoc
22
- shoulda
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.0