muflax 0.1.34 → 0.1.35

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: 411f74f3a22b28ad3ed62696fa7841c96bf55a4a
4
- data.tar.gz: 3b3c60fa5facc6670aed24284d211f74ab4b1097
3
+ metadata.gz: 9881f0e81c97215b9ed256047dbaa2e7cf24e409
4
+ data.tar.gz: c1bdbe5bb5c19dc0ea9ac725ed5ca526e3f7a198
5
5
  SHA512:
6
- metadata.gz: 6d96444e71fce6ad212b1172ef30652118384c6590c1d1144cb0c986d526229229abce0b2a2f1405a27c467e7b64e357694e55f85ce2d4818ea5bc061382f229
7
- data.tar.gz: ab59c6099baf4b4a4aae5e7aacc67b1198cea2b947f57ce721eff3e3401a3b2ba2f93c21948c063933c0ce40c78d7513b5ccee7d5825ebaa62edac85e801cfb4
6
+ metadata.gz: b1f784cab75ed87b39c9058bc55af553570839aa742d56a350dcdd44baef20ce877b35871d0ec507f2309c8bb0d69bc0dbe4f9b3f60bc49f96b796b2371412bc
7
+ data.tar.gz: 53aa5466bfcc8a70eca93cad58b145218eb0ed6308a87ef4ed5b9a446c107b85b933966a953695d76311ed48a78bb8475c7edad8325244a09efcf90071bb3e6b
checksums.yaml.gz.sig CHANGED
Binary file
data/README CHANGED
@@ -7,33 +7,3 @@ Convenience library that pulls in all standard libraries and hacks I use in quic
7
7
  - a few more extensions to range_math, notably "pass method call to numbers"
8
8
 
9
9
  ]
10
- [ Memoization
11
-
12
- Should work like this:
13
-
14
- - get file and body of the method to be memoized (via method_source gem)
15
- - hash that as the method signature
16
- - take arguments, hash them (via Ruby) (you shouldn't pass fancy arguments, only trivially hashable ones, like strings or symbols, not arrays or some custom object shit)
17
- - save/retrieve result in/from hash (as simple pickle)
18
- - initialize hash from database, "checkpoint.cache" and save results
19
-
20
- - annotate all methods that can be memoized? memoize everything by default? not sure yet, but opt-in is probably the most predictable behavior
21
-
22
- This enables checkpoint-esque behavior: any method that hasn't changed (same signature) and takes the same arguments just loads the result from a big hash instead of re-generating it every time, but any actual change will be taken into account.
23
-
24
- The database can simply be regularly cleaned / deleted, or just discard old signatures (when initializing, look up method name -> test signature -> different? discard cache for this method)
25
-
26
- Like:
27
-
28
- ~~~
29
- require "muflax/checkpoint"
30
-
31
- +Checkpoint
32
- def method args
33
- ...
34
- end
35
-
36
- method(42)
37
- ~~~
38
-
39
- ]
data/muflax.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "muflax"
3
- s.version = "0.1.34"
3
+ s.version = "0.1.35"
4
4
 
5
5
  s.authors = ["muflax"]
6
6
  s.summary = "muflax standard library"
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.homepage = "http://github.com/muflax/ruby-muflax"
15
15
  s.require_paths = ["lib"]
16
16
 
17
- s.add_dependency "activesupport", "~> 4"
17
+ s.add_dependency "activesupport", "~> 5"
18
18
  s.add_dependency "awesome_print"
19
19
  s.add_dependency "debug_inspector"
20
20
  s.add_dependency "highline"
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.1.34
4
+ version: 0.1.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
@@ -28,7 +28,7 @@ cert_chain:
28
28
  UTuVeeTxPBRAkEStqSL/T6ftwAkFee8ORyJjuOJgqTUPfe/qPIe/qQw3RVUesjYb
29
29
  pNY9O02iAik7VcnsSGB3oSR6yBKVb8d2pFmbUEPSenyN/hGrJJKFPqqmCO9jhzlY
30
30
  -----END CERTIFICATE-----
31
- date: 2016-04-17 00:00:00.000000000 Z
31
+ date: 2016-08-28 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '4'
39
+ version: '5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '4'
46
+ version: '5'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: awesome_print
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -188,9 +188,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  requirements: []
190
190
  rubyforge_project:
191
- rubygems_version: 2.6.3
191
+ rubygems_version: 2.6.6
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: muflax standard library
195
195
  test_files: []
196
- has_rdoc:
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- �c~#�K)��<٦[���[��~�_3F�J��1�k���͑r���W�\��n��1���<�8ޤ��dW�"�������=�(mw�ӳ��oNz1TS^������>[�l���<݀+�D�أb��=��2��e���e�h�y�es���Bt�� ���&�9*Fn���5���s=��x�ʥ���8g_��B8����k+����4N6D�}�^��(�=r��1�t�)�&�5��;c�����f
1
+ ���@f¢��?��H��C�f��ڏ3���KJn�/����]�8�5�= $z��õ�{����9�ͷ��<�=B9�r�+�c����9t.�����:���V��������Z���8���r"����q�������q���Ml�*WH�\q��yw�?6Pl)��2��6whQ �l��z�&��̾��~���7K���)r{Γ}y�T�î�}{��,�ne���|����4A#C����:6׾�,b�� 2Z�,1�