bijint 0.2.0 → 0.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbced8240aed2fd31e4f6e50818f8f8cc21c76ab
4
- data.tar.gz: daeab230cd6c5c8971a6be6848c310ac6782eccd
3
+ metadata.gz: aa745db959dd179c133dd7ebf5f93ef2301a304d
4
+ data.tar.gz: a5e7fe4469e0bf19f8013eb89f8a92652d6aa46f
5
5
  SHA512:
6
- metadata.gz: ac795a1762fd6153d36255d8053448c00055739d1638e0fd0ae38a0c787ba5ca71831dddd5dadf91725f3f649068e9a2af97f16eff765828d201c2ac6640130a
7
- data.tar.gz: 47ca343f7e08b83ffee951f16a572a26a388dab407cbf683a41e97685d947455bdc697f510fd054510b1cbbd2ac341d742e06271cde6e2c80b56278050045f7c
6
+ metadata.gz: 26823536d67cdc8c4cb50bf09699fbe31eca403b933efc45a1e8c46d9b3c9cdf718f29e2ecd7847fdc3760e5fe471c07dcf5d8ccceb88ae5b5e1fb65e7aad1d3
7
+ data.tar.gz: f82f700fe276ef1d69d8a2aac1e086cb268592a684e21a09dfdfc93f97f9abc7a84d6421a4d4e775be414ca3a44d9bdc6905af4b6a49a1937a2a894fb8fec23c
data/bin/bijint CHANGED
@@ -7,7 +7,7 @@ bijint = Bijint::Bijint.new
7
7
  if ARGV.empty?
8
8
  puts bijint.now
9
9
  else
10
- puts bijint.random if ARGV.first == 'random'
10
+ puts bijint.random if ARGV.first == 'random'
11
11
  puts bijint.md if ARGV.first == 'md'
12
12
  puts bijint.md_random if ARGV.first == 'md_random'
13
13
  end
data/lib/bijint.rb CHANGED
@@ -11,11 +11,14 @@ module Bijint
11
11
  end
12
12
 
13
13
  def md
14
- "[![bijint](#{url(set_area, Time.now)})](#{url(set_area, Time.now)})"
14
+ area = set_area
15
+ "[![bijint](#{url(area, Time.now)})](#{url(area, Time.now)})"
15
16
  end
16
17
 
17
18
  def md_random
18
- "[![bijint](#{url(set_area, time_rand)})](#{url(set_area, time_rand)})"
19
+ area = set_area
20
+ date = time_rand
21
+ "[![bijint](#{url(area, date)})](#{url(area, date)})"
19
22
  end
20
23
 
21
24
  def url(area, time)
@@ -1,3 +1,3 @@
1
1
  module Bijint
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bijint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - funnythingz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-26 00:00:00.000000000 Z
11
+ date: 2015-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler