navigable 0.2.0 → 0.3.0

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
  SHA256:
3
- metadata.gz: 83333f93d812c30f98148fc513bc729dda72f19f31b2c4844454bf04129088d2
4
- data.tar.gz: f991e29b72390bc4f5cb430c90f0a2b0b92f39ea0b8ffc3c065357c1d2eaf947
3
+ metadata.gz: 231583c809c62cb9bbef38284cd16e3b749e927c752c97432198c535399d44b7
4
+ data.tar.gz: 2c6f6f291254912bc973ccfa09d19cd470a28b1c22c730e33b9345526b90cd6b
5
5
  SHA512:
6
- metadata.gz: 0b3d8c979bc045be112bd2e8004442b45da433e40a6f8e338ab64c0f090da5b3645f8acab84a592adcebf68d731fae0aedce54035725fad1136c906ead3e164e
7
- data.tar.gz: f96fe9e564224cd802bcebdb3ac8da0ca7fad76dddbe6c041d440e7c1371f6f7cd58d8ad298d93dfcbeaa7ab571e173ee359352d769dedb10d38caff118f93b1
6
+ metadata.gz: a9e073d24a4a749cf2203d78914fc24f3a60969a5b5de13db221a7db2fdb1b3a38e2ac825b740e12356026b737979614c0124a5d71d02d401d91d7c780d7179f
7
+ data.tar.gz: 6fd8c31f59d354eb2bf6e6e010572d710ad8ec234670b00896512a793dc7fb5065e2af11584e76f61e28356eb994af871f828292b4d44df6a582809c1015f217
@@ -25,7 +25,7 @@ module Navigable
25
25
  end
26
26
 
27
27
  def observers
28
- Manufacturable.build_all(Observer::TYPE, key).push(resolver)
28
+ Manufacturable.build_all(Observer::TYPE, key, params: params).push(resolver)
29
29
  end
30
30
 
31
31
  def command
@@ -21,6 +21,12 @@ module Navigable
21
21
  end
22
22
 
23
23
  base.class_eval do
24
+ attr_reader :params
25
+
26
+ def initialize(params: {})
27
+ @params = params
28
+ end
29
+
24
30
  def observed_command_key
25
31
  manufacturable_item_key
26
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen-string-literal: true
2
2
 
3
3
  module Navigable
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.email = ["alan@ridlehoover.com", "adolfovon@gmail.com"]
9
9
 
10
10
  spec.summary = %q{Ahoy! Navigable will get you there!}
11
- spec.description = %q{We hold these truths to be self-evident, that not all objects are created equal, that poorly structured code leads to poorly tested code, and that poorly tested code leads to rigid software and fearful engineers.\n\nWe believe a framework should break free of this tyranny. It should be simple, testable, and fast. It can be opinionated. But, it should leverage SOLID principles to guide us toward well structured, well tested, maleable code that is truly navigable.}
11
+ spec.description = %q{We hold these truths to be self-evident, that not all objects are created equal, that poorly structured code leads to poorly tested code, and that poorly tested code leads to rigid software and fearful engineers. We believe a framework should break free of this tyranny. It should be simple, testable, and fast. It can be opinionated. But, it should leverage SOLID principles to guide us toward well structured, well tested, maleable code that is truly navigable.}
12
12
  spec.homepage = "https://github.com/first_try/navigable"
13
13
  spec.license = "MIT"
14
14
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navigable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Ridlehoover
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-09-10 00:00:00.000000000 Z
12
+ date: 2020-09-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: manufacturable
@@ -97,7 +97,7 @@ dependencies:
97
97
  version: '0.16'
98
98
  description: We hold these truths to be self-evident, that not all objects are created
99
99
  equal, that poorly structured code leads to poorly tested code, and that poorly
100
- tested code leads to rigid software and fearful engineers.\n\nWe believe a framework
100
+ tested code leads to rigid software and fearful engineers. We believe a framework
101
101
  should break free of this tyranny. It should be simple, testable, and fast. It can
102
102
  be opinionated. But, it should leverage SOLID principles to guide us toward well
103
103
  structured, well tested, maleable code that is truly navigable.
@@ -114,7 +114,6 @@ files:
114
114
  - ".travis.yml"
115
115
  - CODE_OF_CONDUCT.md
116
116
  - Gemfile
117
- - Gemfile.lock
118
117
  - LICENSE.txt
119
118
  - README.md
120
119
  - Rakefile