hashmake 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,3 @@
1
+ -
2
+ ChangeLog.rdoc
3
+ LICENSE.txt
data/.gitignore CHANGED
@@ -1,18 +1,8 @@
1
1
  Gemfile.lock
2
2
 
3
- *.gem
4
- *.rbc
5
- .bundle
6
- .config
7
- coverage
8
- InstalledFiles
9
- lib/bundler/man
10
- pkg
11
- rdoc
12
- spec/reports
13
- test/tmp
14
- test/version_tmp
15
- tmp
3
+ # Gem artifacts
4
+ pkg/
5
+ vendor/cache/*.gem
16
6
 
17
7
  # YARD artifacts
18
8
  .yardoc
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --colour
data/.yardopts ADDED
@@ -0,0 +1 @@
1
+ --markup rdoc --title "hashmake Documentation" --protected
data/ChangeLog.rdoc CHANGED
@@ -6,4 +6,9 @@ Supports hash-based initialization of objects, given that the class include Hash
6
6
 
7
7
  === 0.1.1 / 2013-02-03
8
8
 
9
- Changed HashedArg to ArgSpec. Added documentation.
9
+ Changed HashedArg to ArgSpec. Added documentation.
10
+
11
+ === 0.1.2 / 2013-02-04
12
+
13
+ Added documentation comment for Hashmake::HashMakeable module.
14
+ Removed README.md so YARD could run without the redcarpet gem.
@@ -1,4 +1,9 @@
1
1
  module Hashmake
2
+
3
+ # This module should be included for any class that wants to be 'hash-makeable',
4
+ # which means that a new object instance expects all its arguments to come in a
5
+ # single Hash. See the hash_make method in this module and the ArgSpec class for
6
+ # more details.
2
7
  module HashMakeable
3
8
 
4
9
  # Use the included hook to also extend the including class with HashMake
@@ -4,5 +4,5 @@
4
4
  #
5
5
  module Hashmake
6
6
  # hashmake version
7
- VERSION = "0.1.1"
7
+ VERSION = "0.1.2"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashmake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -100,11 +100,13 @@ executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files: []
102
102
  files:
103
+ - .document
103
104
  - .gitignore
105
+ - .rspec
106
+ - .yardopts
104
107
  - ChangeLog.rdoc
105
108
  - Gemfile
106
109
  - LICENSE.txt
107
- - README.md
108
110
  - README.rdoc
109
111
  - Rakefile
110
112
  - hashmake.gemspec
@@ -131,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
133
  version: '0'
132
134
  segments:
133
135
  - 0
134
- hash: -66247597
136
+ hash: -678443747
135
137
  required_rubygems_version: !ruby/object:Gem::Requirement
136
138
  none: false
137
139
  requirements:
@@ -140,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
142
  version: '0'
141
143
  segments:
142
144
  - 0
143
- hash: -66247597
145
+ hash: -678443747
144
146
  requirements: []
145
147
  rubyforge_project:
146
148
  rubygems_version: 1.8.23
data/README.md DELETED
@@ -1,8 +0,0 @@
1
- hashmake
2
- ========
3
-
4
- Like making your ruby objects with hashed args? This lib aims to make the process easier and more powerful.
5
-
6
- Provides hash_make method that can consider parameter name, type, default value, validation, and requiredd/not, according to the specification provided.
7
-
8
- Also, by default assigns to instance variable of same name as parameter.