circule 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 87915c12b5e6c349eb173949f59eda6e6fbd706ec7d4a9d44ea1fa1ba550714c
4
- data.tar.gz: 92fbd34f5f934f96decb84a3b7e54568cfaef6e41f9f9988701ece62907c9fd9
3
+ metadata.gz: 359b926c35f918f3a2cc77c41f95384eb225248e4ca53de0f5c4887e7d25694f
4
+ data.tar.gz: a0df3f7a795805fde28ccfd280a4ad0053ad331066e46df8200900c5420f170f
5
5
  SHA512:
6
- metadata.gz: 423863eceeeb72a2024b63be95c5e10975dd197fe887a98b3d79589b39c617c9ed891fa27bc37ffb41459dd75ad0e669d8ea40baf366b7cb954cabaa10f1adf0
7
- data.tar.gz: d5b08d2b430c2b81533151139889245029bf233c4ea08015601e3587f016cc736ecd52804494e989c4da17ecc82e04274fb18d0c54cd97ab1660b9584e5e67e0
6
+ metadata.gz: 814054a961e75133cd959ec9a70b0745f18a40f2bf14d1f8137d7cf48b8956254a02f908084c2343d49dc7d1bb5c2481ef3ea3f01faac62cd574b330e007999c
7
+ data.tar.gz: 8f12097c0901eb28c3776ee14f2a28ef438ef10bb51c3e6a6aa07c3ebb02cc08a242ba17a0fe2edd17d2ea4230edb4e8f606f8881e6a03cab00729d73b1a4237
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circule (0.1.2)
4
+ circule (0.1.3)
5
5
  chunky_png
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -12,6 +12,8 @@ Generate an icon of overlapping circles derived from a hash.
12
12
  3. Each pixel in the output will be colored based on the number of
13
13
  circles that point is inside.
14
14
 
15
+ The [demo video](circule-demo.mp4) shows how the final image is composed.
16
+
15
17
  ## Installation
16
18
 
17
19
  Add this line to your application's Gemfile:
@@ -48,6 +50,16 @@ Or install it yourself as:
48
50
  | -g | --gui | Run GUI (requires glimmer & tk) |
49
51
  | -i | --interactive | Run GUI with pry |
50
52
 
53
+ ### CLI Example(s)
54
+
55
+ The icon for this project on GitLab:
56
+ ```
57
+ $ echo -n circule | sha256sum
58
+ 4b9ae43c4e15486ce131f733eff14547764623d27aa5d1d9aff45b67528f0b60 -
59
+
60
+ $ circule -h 4b9ae43c4e15486ce131f733eff14547764623d27aa5d1d9aff45b67528f0b60 -s /tmp/circule.png
61
+ ```
62
+
51
63
  ## Development
52
64
 
53
65
  After checking out the repo, run `bin/setup` to install
data/circule-demo.mp4 ADDED
Binary file
data/exe/circule CHANGED
@@ -72,7 +72,7 @@ if options[:gui]
72
72
  gui.canvas = options[:canvas] if options[:canvas]
73
73
  gui.ox = options[:ox] if options[:ox]
74
74
  gui.oy = options[:oy] if options[:oy]
75
- gui.zoom = options[:zoom] if options[:zoom]
75
+ gui.scale = options[:zoom] if options[:zoom]
76
76
 
77
77
  gui.open options[:file] if options[:file]
78
78
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Circule
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circule
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank J. Cameron
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chunky_png
@@ -41,6 +41,7 @@ files:
41
41
  - Rakefile
42
42
  - bin/console
43
43
  - bin/setup
44
+ - circule-demo.mp4
44
45
  - circule.gemspec
45
46
  - exe/circule
46
47
  - lib/circule.rb