timeboss 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +4 -1
- data/lib/timeboss/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ee958579489d0d8f97632d40fb34b6f34e050967c4797327b57a7b654dc88db4
|
4
|
+
data.tar.gz: dc7cafc993f99f87b883b723d93091b8d8b7153e28919b52c137203ec3b921ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9567778218c98eba8c81fe6d46010d4c197e265a0f4b0a9466ded1172ed72a4b38a2a4a1262ee8e8337e1aeb9b7c819f6d6085f17c06ff0d7498759953dc5f0a
|
7
|
+
data.tar.gz: 8cc13419812cd26806289d2b1dfae991209e3a7ee622a45884c53986ae6a8b837685ee6ffb51ef4cb77daf03217ac800c6ffc25003ec1c66d352a53d6475d719
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ _This is a work in progress. Check back soon for the initial release!_
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
```ruby
|
9
9
|
# update with the version of your choice
|
10
|
-
gem 'timeboss'
|
10
|
+
gem 'timeboss'
|
11
11
|
```
|
12
12
|
|
13
13
|
And then execute:
|
@@ -20,6 +20,8 @@ Or install it yourself as:
|
|
20
20
|
$ gem install timeboss
|
21
21
|
```
|
22
22
|
|
23
|
+
You can find the gem on [RubyGems](https://rubygems.org/gems/timeboss).
|
24
|
+
|
23
25
|
## Usage
|
24
26
|
Supports `year`, `half`, `quarter`, `month`, `week`, and `day`.
|
25
27
|
|
@@ -74,6 +76,7 @@ entry.format(:quarter)
|
|
74
76
|
entry.format(:quarter, :month)
|
75
77
|
# => "2020Q2M3W2"
|
76
78
|
```
|
79
|
+
_Note: all parsable descriptors should be ordered by chronological specificity (from least to most)_
|
77
80
|
|
78
81
|
Each type of period can give you information about its constituent periods:
|
79
82
|
```ruby
|
data/lib/timeboss/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timeboss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin McDonald
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
175
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
176
|
+
rubygems_version: 2.7.7
|
177
177
|
signing_key:
|
178
178
|
specification_version: 4
|
179
179
|
summary: Broadcast Calendar navigation in Ruby made simple
|