algebrick 0.7.1 → 0.7.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
  SHA1:
3
- metadata.gz: 9299bb7379e63fdda3b5b346abca387c4151b429
4
- data.tar.gz: b93d3b9515e9298a4b1d2dd3a67974ea30649986
3
+ metadata.gz: 60096d13b93562596d958a5dc3aa097bd898d573
4
+ data.tar.gz: b287141a4904cc92e3897a6dc1dd5491ffcb6386
5
5
  SHA512:
6
- metadata.gz: 6d7d6ac6ff9dd5c1f6f04314271ae2a487cce7cf175d99139934e5355f840765b627342c63c1ba36cdad0865f75fa2d1ec05fb27745426b45627f9a64fc05e42
7
- data.tar.gz: 25875464076bdc7b603ac3586bd45a982c1a92d325ad8d0ee9a6625ba77e4b85c2d637cf8d3a9dd106ae4be8773fc8c00d93056828adf7376ed86e4b4f834b2e
6
+ metadata.gz: db0490f87946a101ca586c33f2357c3cdc33e3e3b2ff1a05e085e927d09449eac7453cbcb4e8f5127b9095451fd57e580c11301333e6e90b5f3b934001f4d189
7
+ data.tar.gz: 0b7835c98cbf5963ac392e36550096fdf7b00a9a6d1b36d1d021476d96a7f1bb0289619421fd3f8d4811182c90f8274d1b3ca4fb0929f047c1c226253ccb6abb
@@ -80,11 +80,6 @@ They use standard `#===` method to match against values.
80
80
 
81
81
  ## What is it good for?
82
82
 
83
- ### TODO
84
-
85
- - record like structures
86
- - creating new types by summing existing
87
-
88
83
  ### Defining data structures
89
84
 
90
85
  <!-- {include:file:doc/data.out.rb} -->
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.1
1
+ 0.7.2
@@ -37,8 +37,6 @@
37
37
  # Person[address: Address[name: 'asd']]
38
38
  # Person[address: { name: 'asd' }]
39
39
 
40
- # TODO maybe should behave as monad
41
-
42
40
  # Provides Algebraic types and pattern matching
43
41
  #
44
42
  # **Quick example**
@@ -64,5 +62,4 @@ module Algebrick
64
62
  require 'algebrick/matchers'
65
63
  require 'algebrick/types'
66
64
 
67
- # require 'algebrick/serializer'
68
65
  end
@@ -63,7 +63,5 @@ module Algebrick
63
63
  Matchers::Array.new *matchers
64
64
  end
65
65
  end
66
-
67
- # TODO consider: class Array; def ===(other); zip(other).all? {|m,v| m===v}; end; end
68
66
  end
69
67
  end
metadata CHANGED
@@ -1,125 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algebrick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Chalupa
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-26 00:00:00.000000000 Z
11
+ date: 2015-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: minitest
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: minitest-reporters
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: turn
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: pry
57
14
  requirement: !ruby/object:Gem::Requirement
58
15
  requirements:
59
- - - ">="
16
+ - - '>='
60
17
  - !ruby/object:Gem::Version
61
18
  version: '0'
62
- type: :development
19
+ name: minitest
63
20
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: yard
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
21
  type: :development
77
- prerelease: false
78
22
  version_requirements: !ruby/object:Gem::Requirement
79
23
  requirements:
80
- - - ">="
24
+ - - '>='
81
25
  - !ruby/object:Gem::Version
82
26
  version: '0'
83
27
  - !ruby/object:Gem::Dependency
84
- name: kramdown
85
28
  requirement: !ruby/object:Gem::Requirement
86
29
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
30
+ - - '>='
95
31
  - !ruby/object:Gem::Version
96
32
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: multi_json
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
33
+ name: minitest-reporters
105
34
  prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: json
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
35
  type: :development
119
- prerelease: false
120
36
  version_requirements: !ruby/object:Gem::Requirement
121
37
  requirements:
122
- - - ">="
38
+ - - '>='
123
39
  - !ruby/object:Gem::Version
124
40
  version: '0'
125
41
  description: Provides algebraic type definitions and pattern matching
@@ -218,25 +134,25 @@ homepage: https://github.com/pitr-ch/algebrick
218
134
  licenses:
219
135
  - Apache License 2.0
220
136
  metadata: {}
221
- post_install_message:
137
+ post_install_message:
222
138
  rdoc_options: []
223
139
  require_paths:
224
140
  - lib
225
141
  required_ruby_version: !ruby/object:Gem::Requirement
226
142
  requirements:
227
- - - ">="
143
+ - - '>='
228
144
  - !ruby/object:Gem::Version
229
145
  version: '0'
230
146
  required_rubygems_version: !ruby/object:Gem::Requirement
231
147
  requirements:
232
- - - ">="
148
+ - - '>='
233
149
  - !ruby/object:Gem::Version
234
150
  version: '0'
235
151
  requirements: []
236
- rubyforge_project:
237
- rubygems_version: 2.4.5
238
- signing_key:
152
+ rubyforge_project:
153
+ rubygems_version: 2.4.6
154
+ signing_key:
239
155
  specification_version: 4
240
156
  summary: Algebraic types and pattern matching for Ruby
241
157
  test_files: []
242
- has_rdoc:
158
+ has_rdoc: