no_backsies 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.rdoc +32 -0
- data/HISTORY.rdoc +20 -0
- data/NOTICE.rdoc +18 -0
- data/README.rdoc +30 -8
- metadata +10 -26
data/COPYING.rdoc
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
= COPYRIGHT NOTICES
|
2
|
+
|
3
|
+
== No Backsies
|
4
|
+
|
5
|
+
Copyright:: (c) 2011 Thomas Sawyer, Rubyworks
|
6
|
+
License:: BSD-2-Clause
|
7
|
+
|
8
|
+
Copyright (c) 2011 Thomas Sawyer. All rights reserved.
|
9
|
+
|
10
|
+
Redistribution and use in source and binary forms, with or without modification, are
|
11
|
+
permitted provided that the following conditions are met:
|
12
|
+
|
13
|
+
1. Redistributions of source code must retain the above copyright notice, this list of
|
14
|
+
conditions and the following disclaimer.
|
15
|
+
|
16
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list
|
17
|
+
of conditions and the following disclaimer in the documentation and/or other materials
|
18
|
+
provided with the distribution.
|
19
|
+
|
20
|
+
THIS SOFTWARE IS PROVIDED BY Thomas Sawyer ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
21
|
+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Thomas Sawyer OR
|
23
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
24
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
26
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
27
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
28
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
|
30
|
+
The views and conclusions contained in the software and documentation are those of the
|
31
|
+
authors and should not be interpreted as representing official policies, either expressed
|
32
|
+
or implied, of Thomas Sawyer.
|
data/HISTORY.rdoc
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
= RELEASE HISTORY
|
2
|
+
|
3
|
+
== 0.3.0 | 2011-07-06
|
4
|
+
|
5
|
+
Switch to BSD 2-Clause license.
|
6
|
+
|
7
|
+
|
8
|
+
== 0.2.0 | 2011-04-29 (Later on Wedding Day)
|
9
|
+
|
10
|
+
You know, one of thsoe "oops", kind of things.
|
11
|
+
|
12
|
+
|
13
|
+
== 0.1.0 | 2011-04-29 (Wedding Day)
|
14
|
+
|
15
|
+
This is the initial release of NoBacksies.
|
16
|
+
|
17
|
+
Changes:
|
18
|
+
|
19
|
+
* Happy Wedding Day!
|
20
|
+
|
data/NOTICE.rdoc
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
= COPYRIGHT NOTICES
|
2
|
+
|
3
|
+
== No Backsies
|
4
|
+
|
5
|
+
Copyright (c) 2011 Thomas Sawyer
|
6
|
+
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
you may not use this file except in compliance with the License.
|
9
|
+
You may obtain a copy of the License at
|
10
|
+
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
See the License for the specific language governing permissions and
|
17
|
+
limitations under the License.
|
18
|
+
|
data/README.rdoc
CHANGED
@@ -10,14 +10,35 @@ methods.
|
|
10
10
|
|
11
11
|
== RESOURCES
|
12
12
|
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
13
|
+
* {Homepage}[http://rubyworks.github.com/no_backsies]
|
14
|
+
* {Development}[http://github.com/rubyworks/no_backsies]
|
15
|
+
* {Mailing List}[http://groups.google.com/group/rubyworks-mailinglist]
|
16
|
+
* {API Reference}[http://rubydoc.info/gems/no_backsies/frames]
|
17
|
+
* {Demonstrandum}[http://rubyworks.github.com/no_backsies/QED.html]
|
16
18
|
|
17
19
|
|
18
|
-
==
|
20
|
+
== EXAMPLES
|
19
21
|
|
20
|
-
Here is
|
22
|
+
Here is a very simple example of how NoBacksies works.
|
23
|
+
|
24
|
+
class Y
|
25
|
+
include NoBacksies::Callbacks
|
26
|
+
|
27
|
+
def self.list
|
28
|
+
@list ||= []
|
29
|
+
end
|
30
|
+
|
31
|
+
callback :method_added do |method|
|
32
|
+
list << method
|
33
|
+
end
|
34
|
+
|
35
|
+
def foo; end
|
36
|
+
def bar; end
|
37
|
+
end
|
38
|
+
|
39
|
+
Y.list #=> [:foo, :bar]
|
40
|
+
|
41
|
+
Here is another example taken from the Anise[http://rubyworks.github.com/anise]
|
21
42
|
project.
|
22
43
|
|
23
44
|
class Y
|
@@ -50,10 +71,11 @@ Install the RubyGems package in the usual fashion.
|
|
50
71
|
|
51
72
|
== LEGAL
|
52
73
|
|
53
|
-
(
|
74
|
+
(BSD 2 License)
|
54
75
|
|
55
76
|
Copyright (c) 2011 Thomas Sawyer
|
56
77
|
|
57
78
|
Unless otherwise negotiated with the original author, NoBacksies is
|
58
|
-
distributable under the terms of the
|
59
|
-
|
79
|
+
distributable under the terms of the BSD 2-clause license.
|
80
|
+
|
81
|
+
See the LICENSE.rdoc file for details.
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: no_backsies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
version: 0.2.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.3.0
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Thomas Sawyer
|
@@ -15,34 +10,27 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
13
|
+
date: 2011-07-06 00:00:00 Z
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
16
|
+
name: qed
|
23
17
|
prerelease: false
|
24
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
19
|
none: false
|
26
20
|
requirements:
|
27
21
|
- - ">="
|
28
22
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
23
|
version: "0"
|
33
24
|
type: :development
|
34
25
|
version_requirements: *id001
|
35
26
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
27
|
+
name: detroit
|
37
28
|
prerelease: false
|
38
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
30
|
none: false
|
40
31
|
requirements:
|
41
32
|
- - ">="
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 3
|
44
|
-
segments:
|
45
|
-
- 0
|
46
34
|
version: "0"
|
47
35
|
type: :development
|
48
36
|
version_requirements: *id002
|
@@ -64,9 +52,11 @@ files:
|
|
64
52
|
- qed/02_express.rdoc
|
65
53
|
- qed/03_options.rdoc
|
66
54
|
- qed/applique/no_backsies.rb
|
55
|
+
- HISTORY.rdoc
|
67
56
|
- README.rdoc
|
68
|
-
|
69
|
-
|
57
|
+
- COPYING.rdoc
|
58
|
+
- NOTICE.rdoc
|
59
|
+
homepage: http://rubyworks.github.com/anise]
|
70
60
|
licenses: []
|
71
61
|
|
72
62
|
post_install_message:
|
@@ -82,23 +72,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
72
|
requirements:
|
83
73
|
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
hash: 3
|
86
|
-
segments:
|
87
|
-
- 0
|
88
75
|
version: "0"
|
89
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
77
|
none: false
|
91
78
|
requirements:
|
92
79
|
- - ">="
|
93
80
|
- !ruby/object:Gem::Version
|
94
|
-
hash: 3
|
95
|
-
segments:
|
96
|
-
- 0
|
97
81
|
version: "0"
|
98
82
|
requirements: []
|
99
83
|
|
100
84
|
rubyforge_project: no_backsies
|
101
|
-
rubygems_version: 1.
|
85
|
+
rubygems_version: 1.8.2
|
102
86
|
signing_key:
|
103
87
|
specification_version: 3
|
104
88
|
summary: Better handling of Ruby callbacks
|