muflax 0.3.10 → 0.3.11

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: 2cd61db92719844a3b8930c018086aeabbf5a8241e66f04d4b2a7a4c1b06d4d1
4
- data.tar.gz: 38949a2f122c6f334fd8f287a223aaf9dd39cba881ec9f84eed8fa8d055b8f9e
3
+ metadata.gz: ffccc9be5c328fa3556ae1669de1c6f4b2bc20a4a48bb962bea0f496bc1223a5
4
+ data.tar.gz: 1a6d9c579f323c57f693cfd1a6eac8473f3fff5665202aa45bb3be53adf337f6
5
5
  SHA512:
6
- metadata.gz: 0c78d6efafb171b12745f67605b4117b17bce4c27df6a5dbd86a8e0d8e022ea8ef271c69362b11dc81f0a4dd38038409e66c3c45ed857de47b8eeb72d1dc1594
7
- data.tar.gz: cc3b31baa4d2ab091361acb0674bc39ce7b96e48e81730a92ce32685ce00e541c360df86a884f6e203a080ce59cbc8b5b95667fb903a90894364e9340e68270e
6
+ metadata.gz: fcdf1b5a596564e0b123410df448bb501b548c7b8d0ad1c80ea8f5198fbc5be2297ba9dff0e1b72b0a28ac3800aee33055e27571155543850e41dfb316ae0930
7
+ data.tar.gz: 7d8259fa2e998e382b1ef1dd916c7db5b200f94f5f9da9ecd1b682f44198d330adf28980740d89639b481e9f78e97ab255197de2822592aec8198e74bf600b0e
checksums.yaml.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- muflax (0.3.10)
4
+ muflax (0.3.11)
5
5
  awesome_print (~> 1)
6
6
  debug_inspector (~> 0.0)
7
7
  highline (~> 1.6)
@@ -60,6 +60,10 @@ module Enumerable
60
60
  sum = self.sum / 100.0
61
61
  self.map{|n| (n.to_f / sum).round(1)}
62
62
  end
63
+
64
+ def with_previous
65
+ self.reduce(nil){|prev, cur| yield prev, cur; cur}; self
66
+ end
63
67
  end
64
68
 
65
69
  class Object
data/muflax.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "muflax"
3
- s.version = "0.3.10"
3
+ s.version = "0.3.11"
4
4
 
5
5
  s.authors = ["muflax"]
6
6
  s.summary = "muflax standard library"
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.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDLDCCAhSgAwIBAgIBBDANBgkqhkiG9w0BAQUFADA8MQ0wCwYDVQQDDARtYWls
13
+ MIIDLDCCAhSgAwIBAgIBBTANBgkqhkiG9w0BAQsFADA8MQ0wCwYDVQQDDARtYWls
14
14
  MRYwFAYKCZImiZPyLGQBGRYGbXVmbGF4MRMwEQYKCZImiZPyLGQBGRYDY29tMB4X
15
- DTE3MDUxNjA3NDUxMVoXDTE4MDUxNjA3NDUxMVowPDENMAsGA1UEAwwEbWFpbDEW
15
+ DTE4MDkwODA1NTYwNVoXDTE5MDkwODA1NTYwNVowPDENMAsGA1UEAwwEbWFpbDEW
16
16
  MBQGCgmSJomT8ixkARkWBm11ZmxheDETMBEGCgmSJomT8ixkARkWA2NvbTCCASIw
17
17
  DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMBwn+ZDlWYfoEevtvoQBKK+NBFA
18
18
  U9iKN5Aa4g51ZjiFUtoasYeTVUvqKmkRDM+tFTjlTNRCMtFKZy+Fbw+Q2+JALBnk
@@ -21,14 +21,14 @@ cert_chain:
21
21
  coJqx3UHhPw1e97CxC4r4IEO4vfNwMr3Uxxcv/idcQwDi5thDwtzjG3u4xwzL3xS
22
22
  HSvktDccLmeF9hsWUGlmee87oQGqZvZTmRmLmpcpzsNxFcVJxGK72VfbsjUCAwEA
23
23
  AaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEEiWHZRn5hp
24
- 8ho98JIewpJitn3DMA0GCSqGSIb3DQEBBQUAA4IBAQCFvlpydHAKq6pEgwaG8nNR
25
- JP21BB4467hKYRPHO4vQW+zA1ezZdFak4Ie71hGrxQXmjHBWDk6rMcC+SfgxKL+q
26
- 1rOpOHgG08uq3RZgAi5tBoXSWid8+9Ii3aJc/9g2OF2ZELmEjvOueGBFkP57c8ju
27
- 1EztgTx/sIwPTCMntncnw/83prQqO4G5S/cCguOqGQ9NQlXUczRJzrfDorGVAD0T
28
- 9xjevPGDZ+8y8wc8/mXBPK1pTaBh2oi8947HaTq8EadxezFs2Je+oSnMbygfo/a7
29
- 0rbAHpJPtzql3a4+gjK54qkJUWSUjWuLMHFIHhMt1laowNJUio6ASGx8tfzgLLnZ
24
+ 8ho98JIewpJitn3DMA0GCSqGSIb3DQEBCwUAA4IBAQAz3oo63a3F3iO2Qp1s5kdV
25
+ amqUtZrTN6GmRxo1dNiamgBQavelQX7V+LbieV+3cMG9ynBQFbRttPP5VIO+hnTN
26
+ 3eiY3N/wl9P87xsQzVahqB2bfPQKMAVubdof6qKgg7i9WazuDInt578Y+Zuut9dk
27
+ rbUTMEsgggyT40HfgZsYelBwwf/TLVYh3IEBXkZaceLLyriFF2dAz0u0Mo2WRTT1
28
+ jj4QBQUG5hER1ZAFf+RXdy4RSimjXedOgvebDGeTafOJyhtLsxsh6UKCViHVGzkw
29
+ fhGEJ1deAR/i8RPCblyBDtl7Ved3uX8izfU9LItVY+HOAzl69Qp0fe2TYH+y4uCO
30
30
  -----END CERTIFICATE-----
31
- date: 2018-04-29 00:00:00.000000000 Z
31
+ date: 2018-09-08 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: awesome_print
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.7.6
185
+ rubygems_version: 2.7.7
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: muflax standard library
metadata.gz.sig CHANGED
Binary file