hitsuji 0.1.1 → 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 +4 -4
- data/lib/hitsuji.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3b2c3eb5803ae5e9b03031f063e88108f5c07a1
|
4
|
+
data.tar.gz: 2bbad91b33ca98a5fa688fceaa59ce36f77d3be8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd1500b546a38525c01215a171baaecaff750244811bbf5d8e4b1435bd03ca89c8976e6aa586dec06e7ce89b96334efe104798dd9c2c82c24f487a0d714411dd
|
7
|
+
data.tar.gz: a97f58fc4a32ba614e18d262bcfa319c30fef015b41db707cd6359bf39eb67c557a312e7bfb3a0576948b92fba1fa97144b40d9781b1763ec07fee29c76b7155
|
data/lib/hitsuji.rb
CHANGED
@@ -69,9 +69,9 @@ class Hitsuji
|
|
69
69
|
# my_item2 = Hitsuji.item(:qux, 2) # a second item
|
70
70
|
# items = [:foo, :qux]
|
71
71
|
# my_linker = Hitsuji.linker(:baz, items) # a new linker
|
72
|
-
# my_op = Hitsuji.operation(:op, my_linker, %{
|
72
|
+
# my_op = Hitsuji.operation(:op, my_linker, %{
|
73
73
|
# |arg1, arg2| arg1 + arg2
|
74
|
-
# }) # => :foo + :qux => 1 + 2 => 3
|
74
|
+
# }) # => :foo + :qux => 1 + 2 => 3 # a new operation
|
75
75
|
def self.operation(name, input, block)
|
76
76
|
Operation.new(name, input, block)
|
77
77
|
end
|
@@ -201,7 +201,7 @@ class Hitsuji
|
|
201
201
|
# class MyHitsuji < Hitsuji # creates dependent class
|
202
202
|
# def linker_update # my new special function!
|
203
203
|
# @struct.each do |i|
|
204
|
-
# update(@struct) if i.class == Linker
|
204
|
+
# update(@struct) if i.class == Linker # uses update function
|
205
205
|
# end
|
206
206
|
# end
|
207
207
|
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hitsuji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Quail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
Hitsuji is a library that lets you easily create, edit,
|
@@ -29,7 +29,7 @@ licenses:
|
|
29
29
|
metadata:
|
30
30
|
source_code_uri: https://github.com/realtable/hitsuji
|
31
31
|
bug_tracker_uri: https://github.com/realtable/hitsuji/issues
|
32
|
-
documentation_uri: https://www.rubydoc.info/gems/hitsuji/0.1.
|
32
|
+
documentation_uri: https://www.rubydoc.info/gems/hitsuji/0.1.3
|
33
33
|
post_install_message:
|
34
34
|
rdoc_options: []
|
35
35
|
require_paths:
|
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
46
46
|
version: '0'
|
47
47
|
requirements: []
|
48
48
|
rubyforge_project:
|
49
|
-
rubygems_version: 2.4.
|
49
|
+
rubygems_version: 2.4.6
|
50
50
|
signing_key:
|
51
51
|
specification_version: 4
|
52
52
|
summary: A utility for creating custom management systems.
|