opendsl 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.ruby +1 -1
- data/.yardopts +8 -0
- data/HISTORY.rdoc +10 -0
- data/QED.rdoc +30 -0
- data/README.rdoc +1 -1
- data/lib/opendsl/version.rb +1 -1
- metadata +9 -6
data/.ruby
CHANGED
data/.yardopts
ADDED
data/HISTORY.rdoc
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
= HISTORY
|
2
2
|
|
3
|
+
== 1.1.1 / 2011-10-28
|
4
|
+
|
5
|
+
Quick fix release to get misisng QED.rdoc into the gem so
|
6
|
+
it show up on {rubydoc.info}[http://rubydoc.info].
|
7
|
+
|
8
|
+
Changes:
|
9
|
+
|
10
|
+
* Add QED.rdoc to gem.
|
11
|
+
|
12
|
+
|
3
13
|
== 1.1.0 / 2011-10-27
|
4
14
|
|
5
15
|
This is simplay a maintenace release, to bring the project up to date
|
data/QED.rdoc
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
= README Example
|
2
|
+
|
3
|
+
Require the OpenDSL library.
|
4
|
+
|
5
|
+
require 'opendsl'
|
6
|
+
|
7
|
+
Create an OpenDSL module.
|
8
|
+
|
9
|
+
Foo = OpenDSL.new do
|
10
|
+
foo do
|
11
|
+
'foo'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
Apply it to a class.
|
16
|
+
|
17
|
+
class Something
|
18
|
+
include Foo
|
19
|
+
|
20
|
+
def foobar
|
21
|
+
foo + 'bar'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
Verify it worked as expected.
|
26
|
+
|
27
|
+
s = Something.new
|
28
|
+
s.foobar.assert == 'foobar'
|
29
|
+
|
30
|
+
|
data/README.rdoc
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
{Homepage}[http://rubyworks.github.com/opendsl] |
|
4
4
|
{Source Code}[http://github.com/rubyworks/opendsl] |
|
5
5
|
{Mailing List}[http://groups.google.com/group/rubyworks-mailinglist] |
|
6
|
-
{Issue Tracker}[http://github.com/rubyworks/opendsl/issues]
|
6
|
+
{Issue Tracker}[http://github.com/rubyworks/opendsl/issues]
|
7
7
|
|
8
8
|
{<img src="http://travis-ci.org/rubyworks/opendsl.png" />}[http://travis-ci.org/rubyworks/opendsl]
|
9
9
|
|
data/lib/opendsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opendsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-10-
|
12
|
+
date: 2011-10-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: detroit
|
16
|
-
requirement: &
|
16
|
+
requirement: &20812980 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *20812980
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: qed
|
27
|
-
requirement: &
|
27
|
+
requirement: &20828120 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *20828120
|
36
36
|
description: ! 'OpenDSL is the ultimate DSL system. It marries Ruby''s metaprogramming
|
37
37
|
chops
|
38
38
|
|
@@ -46,14 +46,17 @@ extensions: []
|
|
46
46
|
extra_rdoc_files:
|
47
47
|
- HISTORY.rdoc
|
48
48
|
- README.rdoc
|
49
|
+
- QED.rdoc
|
49
50
|
- COPYING.rdoc
|
50
51
|
files:
|
51
52
|
- .ruby
|
53
|
+
- .yardopts
|
52
54
|
- lib/opendsl/version.rb
|
53
55
|
- lib/opendsl.rb
|
54
56
|
- qed/example.rdoc
|
55
57
|
- HISTORY.rdoc
|
56
58
|
- README.rdoc
|
59
|
+
- QED.rdoc
|
57
60
|
- COPYING.rdoc
|
58
61
|
homepage: http://rubyworks.github.com/opendsl
|
59
62
|
licenses:
|