jikan 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/bin/jikan +1 -2
  3. data/lib/jikan.rb +3 -3
  4. metadata +10 -11
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 62141bded28e1b0e7b9110c794373a48b14b1a88
4
+ data.tar.gz: 9232e5310ec0cf469fa59c8cf4e3a51e157f0ac7
5
+ SHA512:
6
+ metadata.gz: d1bf869801d9cc4bab73ead35056c838fa83e14ec13c8d141b2977acecd197650affa4314fae6e91630beef97b65e690f2b2d4fb45570d39bece9b31a6ffc1ff
7
+ data.tar.gz: fcab723c1b2b025ba4f3775667f1e78fa529012a13ffd3c527497eac83c2692147571f261c6ed4d7e54e0bfd952207ec185eb19c5246407cdbe5da71319c43e7
data/bin/jikan CHANGED
@@ -3,5 +3,4 @@
3
3
  $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
4
4
  require 'jikan'
5
5
 
6
- jikan = Jikan.new
7
- output = jikan.time
6
+ jikan = Jikan.time
data/lib/jikan.rb CHANGED
@@ -5,8 +5,8 @@ class Jikan
5
5
  # >> Jikan.time
6
6
  # => The time is 6:14 PM
7
7
  # The date is February 7, 2013
8
- def time
9
- puts "The time is #{Time.now.strftime("%l:%M %p")}."
10
- puts "The date is #{Time.now.strftime("%B %e, %Y")}."
8
+ def self.time
9
+ puts "The time is #{Time.now.strftime("%I:%M %p")}."
10
+ puts "The date is #{Time.now.strftime("%B %d, %Y")}."
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,47 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jikan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
5
- prerelease:
4
+ version: 0.1.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Brett Chalupa
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-07 00:00:00.000000000 Z
11
+ date: 2014-03-14 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: A simple command line gem for getting the date and time.
13
+ description: A simple command line gem for displaying the time and date.
15
14
  email: brettchalupa@gmail.com
16
15
  executables:
17
16
  - jikan
18
17
  extensions: []
19
18
  extra_rdoc_files: []
20
19
  files:
21
- - lib/jikan.rb
22
20
  - bin/jikan
21
+ - lib/jikan.rb
23
22
  homepage: https://github.com/brettchalupa/jikan
24
23
  licenses: []
24
+ metadata: {}
25
25
  post_install_message:
26
26
  rdoc_options: []
27
27
  require_paths:
28
28
  - lib
29
29
  required_ruby_version: !ruby/object:Gem::Requirement
30
- none: false
31
30
  requirements:
32
- - - ! '>='
31
+ - - ">="
33
32
  - !ruby/object:Gem::Version
34
33
  version: '0'
35
34
  required_rubygems_version: !ruby/object:Gem::Requirement
36
- none: false
37
35
  requirements:
38
- - - ! '>='
36
+ - - ">="
39
37
  - !ruby/object:Gem::Version
40
38
  version: '0'
41
39
  requirements: []
42
40
  rubyforge_project:
43
- rubygems_version: 1.8.24
41
+ rubygems_version: 2.2.2
44
42
  signing_key:
45
- specification_version: 3
43
+ specification_version: 4
46
44
  summary: Time.now
47
45
  test_files: []
46
+ has_rdoc: