skn_utils 3.2.0 → 3.2.1

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
  SHA1:
3
- metadata.gz: ecb548ae02a698328f3c04c7b9e7dbfd115804cb
4
- data.tar.gz: eec07b8981a3778c0146e529cf635a402b7ca3d6
3
+ metadata.gz: 3e5f35b9cb8f4d40e5450210986430079a3dc62b
4
+ data.tar.gz: 165cb18c3053dedaa3f72a96c007a4b1d2170d3a
5
5
  SHA512:
6
- metadata.gz: b2297dc9806e0155a8cdf6e89051c699b4f41c871f89cb69cc6f07faf0159b230edfebfff452cb58684909e57e6fc6eb5cff9330b8a844a66a2548ccbd1f1e76
7
- data.tar.gz: a8c18cc46ac4f2b6c770d2aad74c0505612aff180d37a235641a8587345a1ee3882411ba51dee464221c035954a13ec02156358b4ca9f901f6bb1cbfdb0b296d
6
+ metadata.gz: 6ad5ece92556a9124e64178cf0d51b47a146fd338fdbd07fdfe97b44d8dcd217857308a4e31b963b54bbef2c401ee1191b94fda25f300744aeb042cef58a70d0
7
+ data.tar.gz: 879e7b4feb2b76ebfd0ba5ff540e8deb96fa52d198050b8402b4906a10a8dbea65164ebe997a15c45b8591176c9b336295a03e136392d32aec4299635ed5ba30
@@ -0,0 +1,46 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ * Using welcoming and inclusive language
12
+ * Being respectful of differing viewpoints and experiences
13
+ * Gracefully accepting constructive criticism
14
+ * Focusing on what is best for the community
15
+ * Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * Public or private harassment
22
+ * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at skoona@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
+
39
+ Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44
+
45
+ [homepage]: http://contributor-covenant.org
46
+ [version]: http://contributor-covenant.org/version/1/4/
data/README.md CHANGED
@@ -77,13 +77,13 @@ Ruby Gem containing a Ruby PORO (Plain Old Ruby Object) that can be instantiated
77
77
  #[]=(attr, value) -- assigns value to existing attr, or creates a new key/value pair
78
78
  #<attr> -- returns value of named attribute
79
79
  #<attr> = (value) -- assigns value to existing attr, or creates a new key/value pair
80
+ #<attr>? -- detects true/false presence? of attr, and non-blank existance of attr's value; when #address?
80
81
  -- Where <attr> is a key value from the initial hash, or a key that was/will be dynamically added
81
82
 
82
83
  #keys -- returns array of symbol #keys from current nested level
83
- #== -- alias to #===
84
- #=== -- returns true/false from camparison of the two objects
85
- #eql? -- returns true/false from camparison of the two objects
86
- #<attr>? -- detects true/false presence? of attr, and non-blank existance of attr's value; when #address?
84
+ #==(other) -- alias to #===
85
+ #===(other) -- returns true/false from camparison of the two objects
86
+ #eql?(other) -- returns true/false from camparison of the two objects
87
87
 
88
88
 
89
89
  ## Public Components
data/_config.yml ADDED
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-cayman
@@ -190,11 +190,12 @@ module SknUtils
190
190
  end
191
191
  end
192
192
 
193
- protected
193
+ protected
194
194
 
195
- def reset_from_empty!(params={})
195
+ def reset_from_empty!(params={}, speed=true)
196
196
  @container = {}
197
- initialize_for_speed(params)
197
+ speed ? initialize_for_speed(params) :
198
+ initialize_from_hash(params)
198
199
  end
199
200
 
200
201
  ##
@@ -214,7 +215,7 @@ module SknUtils
214
215
  container[key_as_sym(method)] || container[method_nsym] || super
215
216
  end
216
217
 
217
- private
218
+ private
218
219
 
219
220
  # Feature: attribute must exist and have a non-blank value to cause this method to return true
220
221
  def attribute?(attr)
@@ -13,7 +13,7 @@ module SknUtils
13
13
  end
14
14
 
15
15
  def load_config_basename!(conf)
16
- reset_from_empty!(load_config(conf))
16
+ reset_from_empty!(load_config(conf), false) # enable dot notation via defined methods vs method_missing
17
17
  self
18
18
  end
19
19
 
@@ -3,7 +3,7 @@ module SknUtils
3
3
  class Version
4
4
  MAJOR = 3
5
5
  MINOR = 2
6
- PATCH = 0
6
+ PATCH = 1
7
7
 
8
8
  def self.to_s
9
9
  [MAJOR, MINOR, PATCH].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skn_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Scott Jr
@@ -121,11 +121,13 @@ files:
121
121
  - ".rspec"
122
122
  - ".ruby-gemset"
123
123
  - ".ruby-version"
124
+ - CODE_OF_CONDUCT.md
124
125
  - Gemfile
125
126
  - LICENSE
126
127
  - README.md
127
128
  - README.rdoc
128
129
  - Rakefile
130
+ - _config.yml
129
131
  - bin/benchmark.rb
130
132
  - bin/console
131
133
  - lib/skn_hash.rb