bogo 0.1.32 → 0.2.0

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: c723372a3fc41efa07cb3ead74ac63b8896ba5f2
4
- data.tar.gz: 47bec2d36c83d99d32e35ae17918953bffa32a69
3
+ metadata.gz: 1dacafff18dc493dc666556a19dc6101b92ef094
4
+ data.tar.gz: 6136251cf57fd703b419be1388afc55100947589
5
5
  SHA512:
6
- metadata.gz: f7f3ba240e14e71cb8caf33075a86873b4878effe34d9f48411e0fd5a266e47cd7251cac6b07a09554161c9c7fb998fb698b7c0f619ab56ce38ab9a57eb59d3f
7
- data.tar.gz: 0ad8976216fa033e8fdb416558916c9127ba9f2a97914f003b069b5ac053e17b24afc5e9781462e65c8921626f97f0268472fade5ab2b37cd73ec093f540027c
6
+ metadata.gz: 464e14906ca0c7167a6ba7498879b112e7d84852461cefd79b55ad463b1b424a6378e2a68ef97e514eac7ace2dfc65c0350cc78a70f04c11fc67fb7fdbf57d8e
7
+ data.tar.gz: 173432af63e7e80d4a42bf041a9d46b48daac6e3360c5e9ac0f5a6f7e757f955861f1ee901de13a797d70f143c048f14a15339d688a1452297ff695333e68bf0
@@ -1,62 +1,65 @@
1
- ## v0.1.32
1
+ # v0.2.0
2
+ * [Lazy] Map #attributes to #data when flagged always clean
3
+
4
+ # v0.1.32
2
5
  * [AnimalStrings] Add support for leading and non-leading upcase
3
6
 
4
- ## v0.1.30
7
+ # v0.1.30
5
8
  * [Lazy] Inspect data prior to checksum to prevent circular issues
6
9
  * [Retry] Support custom block to determine retry
7
10
 
8
- ## v0.1.28
11
+ # v0.1.28
9
12
  * [Smash] Ensure valid data type on checksum generation
10
13
  * [Retry] Add new retry abstract and concrete subclasses
11
14
 
12
- ## v0.1.26
15
+ # v0.1.26
13
16
  * [Smash] Fix behavior around accessing falsey values
14
17
 
15
- ## v0.1.24
18
+ # v0.1.24
16
19
  * [Lazy] Allow multiple results from coercion output
17
20
 
18
- ## v0.1.22
21
+ # v0.1.22
19
22
  * Fix CONNECT requests for HTTPS endpoints to properly include port
20
23
 
21
- ## v0.1.20
24
+ # v0.1.20
22
25
  * Add lazy proxy support monkey patch for http library
23
26
  * [Lazy] Return default values when no data has been loaded
24
27
 
25
- ## v0.1.18
28
+ # v0.1.18
26
29
  * [PriorityQueue] Fix highscore sorting
27
30
 
28
- ## v0.1.16
31
+ # v0.1.16
29
32
  * [EphemeralFile] Add new EphemeralFile class
30
33
 
31
- ## v0.1.14
34
+ # v0.1.14
32
35
  * [PriorityQueue] Add PriorityQueue#include? helper method
33
36
  * [PriorityQueue] Wrap sorting with synchronization
34
37
  * [Constants] Remove pre-check for constant (force load)
35
38
 
36
- ## v0.1.12
39
+ # v0.1.12
37
40
  * Support multiple item push on `PriorityQueue`
38
41
 
39
- ## v0.1.10
42
+ # v0.1.10
40
43
  * Add `Lazy#always_clean!` to remove attribute state
41
44
  * Add `PriorityQueue`
42
45
 
43
- ## v0.1.8
46
+ # v0.1.8
44
47
  * Use `#to_smash` to for duping to preserve types
45
48
  * Force type on merges
46
49
 
47
- ## v0.1.6
50
+ # v0.1.6
48
51
  * Add utility module for easy direct access to helpers
49
52
  * Add support for automatic key conversion (:snake or :camel) on `Smash#to_smash`
50
53
 
51
- ## v0.1.4
54
+ # v0.1.4
52
55
  * Add constant helpers
53
56
  * Add support for freezing Smashes
54
57
 
55
- ## v0.1.2
58
+ # v0.1.2
56
59
  * Add initial spec coverage
57
60
  * Always load `Bogo::Smash`
58
61
  * Add support for global memoization
59
62
  * Auto default lazy data on init
60
63
 
61
- ## v0.1.0
64
+ # v0.1.0
62
65
  * Initial release
@@ -109,6 +109,7 @@ module Bogo
109
109
  def dirty?(*args); false; end
110
110
  def valid_state; self; end
111
111
  alias_method :dirty, :data
112
+ alias_method :attributes, :data
112
113
  end
113
114
  end
114
115
 
@@ -1,4 +1,4 @@
1
1
  module Bogo
2
2
  # Current library version
3
- VERSION = Gem::Version.new('0.1.32')
3
+ VERSION = Gem::Version.new('0.2.0')
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bogo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-15 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie