mao 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +7 -1
- data/lib/mao/filter.rb +1 -1
- data/lib/mao/version.rb +1 -1
- data/mao.gemspec +2 -2
- metadata +13 -21
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a3443824eba06c5970342e7f90928802108bb74d
|
4
|
+
data.tar.gz: 6a71a88dfcd6e0c3b9d71dede343620a3375409a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1398f0c822dd799832797155f2ef89968af1b626dee60968b74475c0a64db55d471cb3a762a3543b0215b8ca8b0f0c3da1045388fefa10fa61dde96659bfaa28
|
7
|
+
data.tar.gz: fbe93c212204fa098813b6b5198e386a257fb2c35b4e6b278eca1cbb8d81d9830f8bea73f552bb213036b460ece5372655d618ae8d9788f02579ac745130f743
|
data/README.md
CHANGED
@@ -7,6 +7,12 @@
|
|
7
7
|
1. From the code you have written, it should be sufficiently declarative and
|
8
8
|
map sufficiently predictably to SQL that you can predict the SQL produced.
|
9
9
|
|
10
|
+
## documentation
|
11
|
+
|
12
|
+
RDoc is available online at
|
13
|
+
[rubydoc.info](http://rubydoc.info/gems/mao/0.0.7/frames), or you can try your
|
14
|
+
luck with `rake rdoc`.
|
15
|
+
|
10
16
|
## releasing
|
11
17
|
|
12
18
|
1. Bump `lib/mao/version.rb` as appropriate.
|
@@ -16,7 +22,7 @@
|
|
16
22
|
## authorship
|
17
23
|
|
18
24
|
* [Timothy Leslie Allen](https://github.com/timothyleslieallen).
|
19
|
-
* [
|
25
|
+
* [Yuki Izumi](https://github.com/kivikakk).
|
20
26
|
|
21
27
|
## copyright and licensing
|
22
28
|
|
data/lib/mao/filter.rb
CHANGED
@@ -82,7 +82,7 @@ module Mao::Filter
|
|
82
82
|
end
|
83
83
|
|
84
84
|
# Returns a filter where the current object is checked if it IS NULL.
|
85
|
-
# HACK(
|
85
|
+
# HACK(kivikakk): ? Calling this "nil?" results in the world crashing down
|
86
86
|
# around us. But it seems a pity to have this be not-quite-like-Ruby.
|
87
87
|
# Would it be better to make #==(nil) map to IS NULL instead of = NULL?
|
88
88
|
def null?
|
data/lib/mao/version.rb
CHANGED
data/mao.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require File.expand_path('../lib/mao/version', __FILE__)
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
|
-
gem.authors = ["Timothy Leslie Allen", "
|
5
|
-
gem.email = ["allen.timothy.email@gmail.com", "
|
4
|
+
gem.authors = ["Timothy Leslie Allen", "Yuki Izumi"]
|
5
|
+
gem.email = ["allen.timothy.email@gmail.com", "rubygems@kivikakk.ee"]
|
6
6
|
gem.description = %q{Mao Ain't an ORM}
|
7
7
|
gem.summary = %q{A database access layer. Currently supports PG.}
|
8
8
|
gem.homepage = "https://github.com/unnali/mao" # TBD
|
metadata
CHANGED
@@ -1,21 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mao
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.8
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Timothy Leslie Allen
|
9
|
-
-
|
8
|
+
- Yuki Izumi
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-01-27 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: pg
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ~>
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,39 +28,35 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: rake
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '0'
|
39
35
|
type: :development
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: rspec
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: '0'
|
63
56
|
description: Mao Ain't an ORM
|
64
57
|
email:
|
65
58
|
- allen.timothy.email@gmail.com
|
66
|
-
-
|
59
|
+
- rubygems@kivikakk.ee
|
67
60
|
executables: []
|
68
61
|
extensions: []
|
69
62
|
extra_rdoc_files: []
|
@@ -88,27 +81,26 @@ files:
|
|
88
81
|
- spec/spec_helper.rb
|
89
82
|
homepage: https://github.com/unnali/mao
|
90
83
|
licenses: []
|
84
|
+
metadata: {}
|
91
85
|
post_install_message:
|
92
86
|
rdoc_options: []
|
93
87
|
require_paths:
|
94
88
|
- lib
|
95
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
90
|
requirements:
|
98
|
-
- -
|
91
|
+
- - '>='
|
99
92
|
- !ruby/object:Gem::Version
|
100
93
|
version: '0'
|
101
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
-
none: false
|
103
95
|
requirements:
|
104
|
-
- -
|
96
|
+
- - '>='
|
105
97
|
- !ruby/object:Gem::Version
|
106
98
|
version: '0'
|
107
99
|
requirements: []
|
108
100
|
rubyforge_project:
|
109
|
-
rubygems_version:
|
101
|
+
rubygems_version: 2.0.3
|
110
102
|
signing_key:
|
111
|
-
specification_version:
|
103
|
+
specification_version: 4
|
112
104
|
summary: A database access layer. Currently supports PG.
|
113
105
|
test_files:
|
114
106
|
- spec/filter_spec.rb
|