kalendor 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: ff7ade1da5a9663e8adb7a0297fb1326e62618b2
4
- data.tar.gz: 69837728d8368cc77ef9c59beaf027531b4574b0
3
+ metadata.gz: a1a98405233cee526a68ff9a982f998bc3c458ab
4
+ data.tar.gz: eea9b41b2f2c1bd20fd5bd9cfd6aba6ae0dcf34c
5
5
  SHA512:
6
- metadata.gz: 486e1bcf993cc52e07727209de693d60e1d125a5b65d02ce1dc59fb5ed28e264017a03479c7f705a61b242d285fca1426857c800ee4b546cff6994d38b20ffc1
7
- data.tar.gz: a6b49673e62ae9f9faef5e4295dc80058124339a2cece08fbf9743ac9eec0a1ef95bcebb0b738a27c6f97b018442b1e98d5c926cc4e76b0e480407b171cbf7fb
6
+ metadata.gz: aff0dcd7b9a2c5757bc8259b30d2be471a5e9329a6163313e905067ea3cbfd1c620623ca259ab35735bd26712fadf79db979178a3fbb144490f35dc8829c1f49
7
+ data.tar.gz: bb820ebd991659890c9baada02fff7bf82bec1f7ed8d1fd8a602a99f5046348e75537dcce5bddadd65593c029c4c3d6b432cd401a11582e8c835e7bf089455c0
data/kalendor.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |spec|
7
7
  spec.version = Kalendor::VERSION
8
8
  spec.authors = ["Conan Dalton"]
9
9
  spec.email = ["conan@conandalton.net"]
10
- spec.description = %q{Utility classes for generating sets of dates}
11
10
  spec.summary = %q{Utility classes for generating sets of dates}
11
+ spec.description = %q{Utility classes for generating sets of dates with simple concise specifications}
12
12
  spec.homepage = "http://github.com/conanite/kalendor"
13
13
  spec.license = "MIT"
14
14
 
@@ -50,6 +50,7 @@ module Kalendor
50
50
  Kalendor::Instance::Month.new month: n
51
51
  end
52
52
 
53
+ def subtract? x, y ; y ? subtract(x, y) : x ; end
53
54
  alias date to_date
54
55
  end
55
56
 
@@ -3,5 +3,6 @@ module Kalendor
3
3
  include Aduki::Initializer
4
4
  attr_accessor :name, :label, :kalendor
5
5
  def get_dates from, upto ; kalendor.get_dates from, upto ; end
6
+ def [] m ; return name if m == :name ; end
6
7
  end
7
8
  end
@@ -1,3 +1,3 @@
1
1
  module Kalendor
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kalendor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Conan Dalton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-28 00:00:00.000000000 Z
11
+ date: 2017-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aduki
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: Utility classes for generating sets of dates
83
+ description: Utility classes for generating sets of dates with simple concise specifications
84
84
  email:
85
85
  - conan@conandalton.net
86
86
  executables: []