danno_ball_clock 0.0.3 → 0.0.4
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 +4 -4
- data/.travis.yml +1 -1
- data/Gemfile +2 -0
- data/Gemfile.lock +5 -1
- data/README.md +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa72f863d1918930b98a1e5fc268d2b6914429c3
|
4
|
+
data.tar.gz: 1a4afe3bfe6d20f31546ab89fb448b4c4b12177a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1940a65b2f553f9d8311c0da9c822a21c998f9c4a065c09a63092b881148c2d11ebc26d1f2c1b5267cedb828f0329256130b2700b557df57ef282960b4f06c78
|
7
|
+
data.tar.gz: ed2f229278a3c232b4be53c4863cd4e2eca41f9daab39b3e9247aed0cecf8b4fab0b1af2df6f3a84c4ac53466a48e28af3a0ebeb4875f25ee15c0c9158422e9c
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,19 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
danno_ball_clock (0.0.
|
4
|
+
danno_ball_clock (0.0.4)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
+
json (1.8.3)
|
9
10
|
minitest (5.9.0)
|
11
|
+
rake (11.1.2)
|
10
12
|
|
11
13
|
PLATFORMS
|
12
14
|
ruby
|
13
15
|
|
14
16
|
DEPENDENCIES
|
15
17
|
danno_ball_clock!
|
18
|
+
json
|
16
19
|
minitest
|
20
|
+
rake
|
17
21
|
|
18
22
|
BUNDLED WITH
|
19
23
|
1.10.6
|
data/README.md
CHANGED
@@ -4,6 +4,9 @@
|
|
4
4
|
| |_| | | |_| | | [] \ / /\ \ | |__ | |__ |9 |-> 3|
|
5
5
|
|____/[] \ ___ /[] |____/ /__ / \ __\ |_____| |_____| \___6__/
|
6
6
|
|
7
|
+
|
8
|
+
[](https://travis-ci.org/Incredible0n3/clock)
|
9
|
+
|
7
10
|
Movement has long been used to measure time. For example, the ball clock is a simple device which keeps track of the passing minutes by moving ball-bearings. Each minute, a rotating arm removes a ball bearing from the queue at the bottom, raises it to the top of the clock and deposits it on a track leading to indicators displaying minutes, five-minutes and hours. These indicators display the time between 1:00 and 12:59, but without 'a.m.' or 'p.m.' indicators. Thus 2 balls in the minute indicator, 6 balls in the five-minute indicator and 5 balls in the hour indicator displays the time 5:32.
|
8
11
|
|
9
12
|
# Requirements
|
@@ -34,9 +37,9 @@ The Clock takes two parameters, the number of balls and the number of minutes to
|
|
34
37
|
# Using the Gem!
|
35
38
|
|
36
39
|
* `ruby -Ilib ./bin/clock {27,0}` or `ruby -Ilib ./bin/clock {30,325}` # if cloned
|
37
|
-
* `ruby -Ilib ~/.rvm/gems/ruby-2.2.3/gems/danno_ball_clock-0.0.
|
40
|
+
* `ruby -Ilib ~/.rvm/gems/ruby-2.2.3/gems/danno_ball_clock-0.0.4/bin/clock {33,90}` # if installed via `gem install`
|
38
41
|
|
39
42
|
# Testing the Gem!
|
40
43
|
|
41
44
|
* `rake` # if cloned
|
42
|
-
* `cd ~/.rvm/gems/ruby-2.2.3/gems/danno_ball_clock_0.0.
|
45
|
+
* `cd ~/.rvm/gems/ruby-2.2.3/gems/danno_ball_clock_0.0.4` then `rake` # if installed via `gem install`
|