muflax 0.4.1 → 0.4.2

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: d43fcd533eab03aaaf5d8425a3c4c31faba7824c7f93c7aa6c3fab369e19b2a8
4
- data.tar.gz: e8382aad1ff8f04201b44e6f77e5bb3d58a6ea6164d7ef8f749b3cd211b505b4
3
+ metadata.gz: e5fdd0ce877effb80734d2b23769e4e4fc3c5a544fcdd8260b1ca67bb93980f8
4
+ data.tar.gz: 521d13886644a3b58645e2381d567b554bc1b26e4e4c66fe68d9f2671f07843d
5
5
  SHA512:
6
- metadata.gz: 47b535cff6333f6880924c0b3a8850e00be11e33b14dda0b568fc95edeca2cf9eddcfb5efebcfd22537e4b611f9c2d7b725ce68bd9bba651cc5b61314e4c11ff
7
- data.tar.gz: 3d3a2860bdd895408f38dd1bcda89e72bfd584281787f270ad38e653142056ec24ab959d297087f23df385a31ed0a846db3329630b36f0da558c437b587608f4
6
+ metadata.gz: 80b4c6dc7bf8a0ea8610fef9e9613a2a36af3ff74d91c001d2f84f968fe1317dda7ef0ad127440da19fe5606321a4c7b6ccb5050ace921305d2c8c545a3db1dd
7
+ data.tar.gz: 4df8425b6ec4659bb520644562f262822798ed8eaba73e08ee5fc7ec185ffa57b6dada9b058e6971a70a418ed4c5c816e5ccc9448dd87b2446a24f185e73cb24
checksums.yaml.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,15 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- muflax (0.4.1)
4
+ muflax (0.4.2)
5
5
  awesome_print (~> 1)
6
- bundler (~> 1)
7
6
  debug_inspector (~> 0.0)
8
7
  fast_blank (~> 1)
9
- ffi (~> 1)
10
8
  highline (< 1.7)
11
9
  pry (~> 0.10)
12
- rake (~> 12)
13
10
  range_math (~> 1)
14
11
  trollop (~> 2.1.3)
15
12
 
@@ -20,7 +17,6 @@ GEM
20
17
  coderay (1.1.2)
21
18
  debug_inspector (0.0.3)
22
19
  fast_blank (1.0.0)
23
- ffi (1.11.1)
24
20
  highline (1.6.21)
25
21
  method_source (0.9.2)
26
22
  pry (0.12.2)
@@ -35,6 +31,7 @@ PLATFORMS
35
31
 
36
32
  DEPENDENCIES
37
33
  muflax!
34
+ rake (~> 12)
38
35
 
39
36
  BUNDLED WITH
40
37
  1.17.3
data/lib/muflax/blank.rb CHANGED
@@ -4,11 +4,12 @@
4
4
  # License: GNU APGLv3 (or later) <http://www.gnu.org/copyleft/gpl.html>
5
5
 
6
6
  class Object
7
- def blank? ; !self ; end
8
7
  def present? ; !blank? ; end
9
8
  def nil_if_blank ; self.blank? ? nil : self ; end
10
9
  end
11
10
 
11
+ # defaults
12
+ class Object ; def blank? ; false ; end ; end
12
13
  class NilClass ; def blank? ; true ; end ; end
13
14
  class FalseClass ; def blank? ; true ; end ; end
14
15
  class TrueClass ; def blank? ; false ; end ; end
data/muflax.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "muflax"
3
- s.version = "0.4.1"
3
+ s.version = "0.4.2"
4
4
 
5
5
  s.authors = ["muflax"]
6
6
  s.summary = "muflax standard library"
@@ -20,7 +20,5 @@ Gem::Specification.new do |s|
20
20
  s.add_dependency "range_math", "~> 1"
21
21
  s.add_dependency "trollop", "~> 2.1.3"
22
22
 
23
- s.add_dependency "bundler", "~> 1"
24
- s.add_dependency "ffi", "~> 1"
25
- s.add_dependency "rake", "~> 12"
23
+ s.add_development_dependency "rake", "~> 12"
26
24
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muflax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
@@ -28,7 +28,7 @@ cert_chain:
28
28
  jj4QBQUG5hER1ZAFf+RXdy4RSimjXedOgvebDGeTafOJyhtLsxsh6UKCViHVGzkw
29
29
  fhGEJ1deAR/i8RPCblyBDtl7Ved3uX8izfU9LItVY+HOAzl69Qp0fe2TYH+y4uCO
30
30
  -----END CERTIFICATE-----
31
- date: 2019-05-31 00:00:00.000000000 Z
31
+ date: 2019-06-05 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: awesome_print
@@ -128,34 +128,6 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: 2.1.3
131
- - !ruby/object:Gem::Dependency
132
- name: bundler
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '1'
138
- type: :runtime
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '1'
145
- - !ruby/object:Gem::Dependency
146
- name: ffi
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '1'
152
- type: :runtime
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '1'
159
131
  - !ruby/object:Gem::Dependency
160
132
  name: rake
161
133
  requirement: !ruby/object:Gem::Requirement
@@ -163,7 +135,7 @@ dependencies:
163
135
  - - "~>"
164
136
  - !ruby/object:Gem::Version
165
137
  version: '12'
166
- type: :runtime
138
+ type: :development
167
139
  prerelease: false
168
140
  version_requirements: !ruby/object:Gem::Requirement
169
141
  requirements:
metadata.gz.sig CHANGED
Binary file