buzztools 0.1.0 → 0.1.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: 87130a8f6f70059943edc9adda62d2c77e1542f7
4
- data.tar.gz: 32976f3798c1a36cf9b96cd197de890d8fb4afd2
3
+ metadata.gz: 0f43553f226cfb1524f5160d0570ed5e3fb0a1e5
4
+ data.tar.gz: c6c836de0a6069897b22e403060d3bc07e901da8
5
5
  SHA512:
6
- metadata.gz: 5b98fc7ea7b7565974983feddecb1a4bbf9d56bec54b8216f16060d8ab7f30c638d1455980cb3e85e0c5e7ee0ac40ba97a4dbef73b1956251593df6800c0f7a4
7
- data.tar.gz: ae0952b532029a44988c6ff30918e07baa7f328d1b0fe0d4ccb5ae38e722c636154a3ee352cec9969fff5a20afe06cc532a8e63a9e02cd769a1953e0f9d2ff10
6
+ metadata.gz: f3b1fd3ed438b8f8fd87b90b4842f9cce014bd828479ecdcc9ec2f649be15186bd0c67c568f14a104113d9a020aa1e6ca972182d14713cd99347b01703db032f
7
+ data.tar.gz: a8fdba0a760b224ecefe2fd3caba04916772c96550b06f37d9252b173ef45d028aa9c50d908a6b8b8d2a775498f88f33373d0ae6cd7e7abd0e6bd18dacadeafb
@@ -4,7 +4,7 @@ module Buzztools
4
4
  attr_reader :default_values
5
5
 
6
6
  def initialize(aDefaultValues,aNewValues=nil,&aBlock)
7
- @default_values = aDefaultValues.clone
7
+ @default_values = aDefaultValues.dup
8
8
  reset()
9
9
  if aNewValues
10
10
  block_given? ? read(aNewValues,&aBlock) : read(aNewValues)
@@ -20,7 +20,7 @@ module ExtendArray
20
20
 
21
21
  def filter_include(aValues,aArray=nil)
22
22
  aArray ||= self
23
- filter_include!(aValues,aArray.clone)
23
+ filter_include!(aValues,aArray.dup)
24
24
  end
25
25
 
26
26
  def filter_exclude!(aValues,aArray=nil)
@@ -37,7 +37,7 @@ module ExtendArray
37
37
 
38
38
  def filter_exclude(aValues,aArray=nil)
39
39
  aArray ||= self
40
- filter_exclude!(aValues,aArray.clone)
40
+ filter_exclude!(aValues,aArray.dup)
41
41
  end
42
42
 
43
43
  def to_csv
@@ -17,7 +17,7 @@ module HashUtils
17
17
 
18
18
  def filter_include(aKeys,aHash=nil)
19
19
  aHash ||= self
20
- filter_include!(aKeys,aHash.clone)
20
+ filter_include!(aKeys,aHash.dup)
21
21
  end
22
22
 
23
23
  def filter_exclude!(aKeys,aHash=nil)
@@ -34,7 +34,7 @@ module HashUtils
34
34
 
35
35
  def filter_exclude(aKeys,aHash=nil)
36
36
  aHash ||= self
37
- filter_exclude!(aKeys,aHash.clone)
37
+ filter_exclude!(aKeys,aHash.dup)
38
38
  end
39
39
 
40
40
  def has_values_for?(aKeys,aHash=nil)
@@ -49,7 +49,7 @@ String.class_eval do
49
49
  end
50
50
 
51
51
  def extract(aValue=$/)
52
- extract!(aValue,self.clone)
52
+ extract!(aValue,self.dup)
53
53
  end
54
54
 
55
55
  # Like chomp! but operates on the leading characters instead.
@@ -70,7 +70,7 @@ String.class_eval do
70
70
  end
71
71
 
72
72
  def bite(aValue=$/)
73
- bite!(aValue,self.clone)
73
+ bite!(aValue,self.dup)
74
74
  end
75
75
 
76
76
  def deprefix!(aPrefix=$/,aString=self)
@@ -83,7 +83,7 @@ String.class_eval do
83
83
  end
84
84
 
85
85
  def deprefix(aValue=$/)
86
- deprefix!(aValue,self.clone)
86
+ deprefix!(aValue,self.dup)
87
87
  end
88
88
 
89
89
  def desuffix!(aSuffix=$/,aString=self)
@@ -113,7 +113,7 @@ String.class_eval do
113
113
  end
114
114
 
115
115
  def ensure_prefix(aValue=$/)
116
- ensure_prefix!(aValue,self.clone)
116
+ ensure_prefix!(aValue,self.dup)
117
117
  end
118
118
 
119
119
  def ensure_suffix!(aSuffix=$/,aString=self)
@@ -122,7 +122,7 @@ String.class_eval do
122
122
  end
123
123
 
124
124
  def ensure_suffix(aValue=$/)
125
- ensure_suffix!(aValue,self.clone)
125
+ ensure_suffix!(aValue,self.dup)
126
126
  end
127
127
 
128
128
  def to_integer(aDefault=nil)
@@ -1,3 +1,3 @@
1
1
  module Buzztools
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buzztools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary McGhee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-25 00:00:00.000000000 Z
11
+ date: 2018-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.4.8
92
+ rubygems_version: 2.5.1
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: reusable function library