sign 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd6f7cc94ac5dc8bfd4aa196f2262cdddd8c962b7927dbcef9cc46186091fe82
4
- data.tar.gz: edfa62d2cfd14c08c623e6ba30b21fe1c4a3925d722206348c5861bcd765f207
3
+ metadata.gz: 623d5ab6b89ccc0fcb793ef2e987579e2c06d8b5d922ae9da7a61a26cb7fc894
4
+ data.tar.gz: a1d55db0b569a3b1e21e55aa4a42437f29d8364121410d51b040099228151631
5
5
  SHA512:
6
- metadata.gz: 3e615613d00475dcce1cc9ae56a8a402e409542027f7a3621434b4afba07c652ff622187707a9505c2c673ec6453f79ad05d58e5efcbb6149c4cb6891f6c66dc
7
- data.tar.gz: 637b2c18e0f698ff03f0f4c1863ece06dcc19ad5f93a6251a4cfe1fca6dcc5de46331d23ad9d562334b1b61424f854886bcb30728f7641813d01a56014ce1bbf
6
+ metadata.gz: 60dece08c8c12bb9a0d906356f7d18c59ea5719b911d80463f2677eb466d4d80b71447755ef2335ef30110bf2078c6c86dcd00f1217b0cabab9e3055a36954cf
7
+ data.tar.gz: b5b3e998eef97d7d3c9d4033c4dcd682d87ef4b98603a8c1d15c1e9d1e995b4e93425462a6775700ef760a3ff1f40b1d3cdc16edee9d9821cb91497b229c9fb6
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.0.4] - 2017-11-11
8
+ ### Changed
9
+ - Use `Time` instead of `Date` class.
10
+
11
+
7
12
  ## [1.0.3] - 2017-11-11
8
13
  ### Changed
9
14
  - Fix issue where `Sign` wasn't able to locate license templates.
@@ -1,5 +1,3 @@
1
- require "Date"
2
-
3
1
  module Sign
4
2
  class Generator
5
3
  def create(license, name, year)
@@ -49,7 +47,7 @@ module Sign
49
47
  end
50
48
 
51
49
  def get_year
52
- return Date.today.year.to_s
50
+ return Time.new.year.to_s
53
51
  end
54
52
 
55
53
  def gitconfig_exist?
data/lib/sign/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sign
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sign
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Ng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-11 00:00:00.000000000 Z
11
+ date: 2017-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler