safer 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +4 -0
  2. data/README.txt +2 -2
  3. data/lib/safer.rb +11 -8
  4. metadata +6 -6
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.3.1 / 2010-11-21
2
+
3
+ * ri Safer didn't include mention of HashProtocol. Fixed.
4
+
1
5
  === 0.3.0 / 2010-11-20
2
6
 
3
7
  * Make Safer a Class, instead of a Module, to prevent embedding.
data/README.txt CHANGED
@@ -15,8 +15,8 @@ modules under the safer umbrella:
15
15
  Java interfaces, but do not require
16
16
  inheritance).
17
17
  [<tt>Safer::HashProtocol</tt>] verifies that a Hash keys follow a defined
18
- format. Intended to help use of Hash objects as
19
- keyword parameters.
18
+ format. Intended to help use of Hash objects
19
+ as keyword parameters.
20
20
 
21
21
  == FEATURES/PROBLEMS:
22
22
 
data/lib/safer.rb CHANGED
@@ -1,16 +1,19 @@
1
1
  ##
2
2
  # Safer is an umbrella library, whose components are designed to improve
3
- # the safety of your code. There are at present two modules under the safer
3
+ # the safety of your code. There are at present three modules under the safer
4
4
  # umbrella:
5
5
  #
6
- # [<tt>Safer::IVar</tt>] generates specially-named accessor functions
7
- # for class instance variables.
8
- # [<tt>Safer::Protocol</tt>] is used to provide a ruby analogue to
9
- # Objective-C Protocols (which are similar to
10
- # Java interfaces, but do not require
11
- # inheritance).
6
+ # [<tt>Safer::IVar</tt>] generates specially-named accessor functions
7
+ # for class instance variables.
8
+ # [<tt>Safer::Protocol</tt>] is used to provide a ruby analogue to
9
+ # Objective-C Protocols (which are similar to
10
+ # Java interfaces, but do not require
11
+ # inheritance).
12
+ # [<tt>Safer::HashProtocol</tt>] verifies that a Hash keys follow a defined
13
+ # format. Intended to help use of Hash objects
14
+ # as keyword parameters.
12
15
  class Safer
13
16
  ##
14
17
  # Current release of Safer.
15
- VERSION = "0.3.0"
18
+ VERSION = "0.3.1"
16
19
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aidan Cully
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-20 00:00:00 -05:00
18
+ date: 2010-11-21 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -62,8 +62,8 @@ description: |-
62
62
  Java interfaces, but do not require
63
63
  inheritance).
64
64
  [<tt>Safer::HashProtocol</tt>] verifies that a Hash keys follow a defined
65
- format. Intended to help use of Hash objects as
66
- keyword parameters.
65
+ format. Intended to help use of Hash objects
66
+ as keyword parameters.
67
67
  email:
68
68
  - aidan@panix.com
69
69
  executables: []