predicates 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 TODO: Write your name
1
+ Copyright (c) 2012 Erol Fornoles
2
2
 
3
3
  MIT License
4
4
 
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
21
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Predicates
2
2
 
3
- Truth accessors for your Ruby classes. Yep, that's about it.
3
+ [Predicates](http://erol.github.com/predicates) are truth accessors for your Ruby classes and models. Yep, that's about it.
4
4
 
5
5
 
6
6
  ## Installation
@@ -42,7 +42,6 @@ Predicates will also create an attribute writer for you using `attr_writer` if t
42
42
 
43
43
  user = User.new
44
44
  user.confirmed = 1
45
- user.confirmed #=> 1
46
45
  user.confirmed? #=> true
47
46
 
48
47
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module Predicates
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/predicates.rb CHANGED
@@ -15,9 +15,9 @@ module Predicates
15
15
  # end
16
16
  #
17
17
  # user = User.new
18
- # user.single = 1
18
+ # user.confirmed = 1
19
19
  # user.confirmed? #=> true
20
- # user.single = nil
20
+ # user.confirmed = nil
21
21
  # user.confirmed? #=> false
22
22
  #
23
23
  # == Ohm Model Example
data/predicates.gemspec CHANGED
@@ -4,9 +4,9 @@ require File.expand_path('../lib/predicates/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Erol Fornoles"]
6
6
  gem.email = ["erol.fornoles@gmail.com"]
7
- gem.description = %q{Truth accessors for Ruby classes.}
8
- gem.summary = %q{Truth accessors for Ruby classes.}
9
- gem.homepage = ""
7
+ gem.description = %q{Truth accessors for Ruby classes and models.}
8
+ gem.summary = %q{Truth accessors for Ruby classes and models.}
9
+ gem.homepage = "http://erol.github.com/predicates"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
12
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: predicates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,9 +9,9 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-19 00:00:00.000000000 Z
12
+ date: 2012-09-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Truth accessors for Ruby classes.
14
+ description: Truth accessors for Ruby classes and models.
15
15
  email:
16
16
  - erol.fornoles@gmail.com
17
17
  executables: []
@@ -28,7 +28,7 @@ files:
28
28
  - predicates.gemspec
29
29
  - test/predicates_test.rb
30
30
  - test/test_helper.rb
31
- homepage: ''
31
+ homepage: http://erol.github.com/predicates
32
32
  licenses: []
33
33
  post_install_message:
34
34
  rdoc_options: []
@@ -51,7 +51,7 @@ rubyforge_project:
51
51
  rubygems_version: 1.8.24
52
52
  signing_key:
53
53
  specification_version: 3
54
- summary: Truth accessors for Ruby classes.
54
+ summary: Truth accessors for Ruby classes and models.
55
55
  test_files:
56
56
  - test/predicates_test.rb
57
57
  - test/test_helper.rb