File: metadata.yml

package info (click to toggle)
ruby-transaction-simple 1.4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 176 kB
  • ctags: 107
  • sloc: ruby: 989; makefile: 2
file content (188 lines) | stat: -rw-r--r-- 4,986 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
--- !ruby/object:Gem::Specification
name: transaction-simple
version: !ruby/object:Gem::Version
  version: 1.4.0.2
  prerelease: 
platform: ruby
authors:
- Austin Ziegler
autorequire: 
bindir: bin
cert_chain: []
date: 2012-06-21 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
  name: rubyforge
  requirement: !ruby/object:Gem::Requirement
    none: false
    requirements:
    - - ! '>='
      - !ruby/object:Gem::Version
        version: 2.0.4
  type: :development
  prerelease: false
  version_requirements: !ruby/object:Gem::Requirement
    none: false
    requirements:
    - - ! '>='
      - !ruby/object:Gem::Version
        version: 2.0.4
- !ruby/object:Gem::Dependency
  name: rdoc
  requirement: !ruby/object:Gem::Requirement
    none: false
    requirements:
    - - ~>
      - !ruby/object:Gem::Version
        version: '3.10'
  type: :development
  prerelease: false
  version_requirements: !ruby/object:Gem::Requirement
    none: false
    requirements:
    - - ~>
      - !ruby/object:Gem::Version
        version: '3.10'
- !ruby/object:Gem::Dependency
  name: hoe
  requirement: !ruby/object:Gem::Requirement
    none: false
    requirements:
    - - ~>
      - !ruby/object:Gem::Version
        version: '3.0'
  type: :development
  prerelease: false
  version_requirements: !ruby/object:Gem::Requirement
    none: false
    requirements:
    - - ~>
      - !ruby/object:Gem::Version
        version: '3.0'
description: ! 'Transaction::Simple provides a generic way to add active transaction
  support to

  objects. The transaction methods added by this module will work with most

  objects, excluding those that cannot be Marshal-ed (bindings, procedure

  objects, IO instances, or singleton objects).


  The transactions supported by Transaction::Simple are not associated with any

  sort of data store. They are "live" transactions occurring in memory on the

  object itself. This is to allow "test" changes to be made to an object before

  making the changes permanent.


  Transaction::Simple can handle an "infinite" number of transaction levels

  (limited only by memory). If I open two transactions, commit the second, but

  abort the first, the object will revert to the original version.


  Transaction::Simple supports "named" transactions, so that multiple levels of

  transactions can be committed, aborted, or rewound by referring to the

  appropriate name of the transaction. Names may be any object except nil.


  Transaction groups are also supported. A transaction group is an object wrapper

  that manages a group of objects as if they were a single object for the purpose

  of transaction management. All transactions for this group of objects should be

  performed against the transaction group object, not against individual objects

  in the group.


  Version 1.4.0 of Transaction::Simple adds a new post-rewind hook so that

  complex graph objects of the type in tests/tc_broken_graph.rb can correct

  themselves.


  Version 1.4.0.1 just fixes a simple bug with #transaction method handling

  during the deprecation warning.


  Version 1.4.0.2 is a small update for people who use Transaction::Simple in

  bundler (adding lib/transaction-simple.rb) and other scenarios where having Hoe

  as a runtime dependency (a bug fixed in Hoe several years ago, but not visible

  in Transaction::Simple because it has not needed a re-release). All of the

  files internally have also been marked as UTF-8, ensuring full Ruby 1.9

  compatibility.'
email:
- austin@rubyforge.org
executables: []
extensions: []
extra_rdoc_files:
- History.rdoc
- Licence.rdoc
- Manifest.txt
- README.rdoc
files:
- History.rdoc
- Licence.rdoc
- Manifest.txt
- README.rdoc
- Rakefile
- lib/transaction-simple.rb
- lib/transaction/simple.rb
- lib/transaction/simple/group.rb
- lib/transaction/simple/threadsafe.rb
- lib/transaction/simple/threadsafe/group.rb
- research/instance_variable_defined.rb
- research/special-dumpable-string.rb
- research/special-dumpable.rb
- test/test_broken_graph.rb
- test/test_transaction_simple.rb
- test/test_transaction_simple_group.rb
- test/test_transaction_simple_threadsafe.rb
- .gemtest
homepage: http://trans-simple.rubyforge.org/
licenses: []
post_install_message: 
rdoc_options:
- --main
- README.rdoc
require_paths:
- lib
required_ruby_version: !ruby/object:Gem::Requirement
  none: false
  requirements:
  - - ! '>='
    - !ruby/object:Gem::Version
      version: '0'
required_rubygems_version: !ruby/object:Gem::Requirement
  none: false
  requirements:
  - - ! '>='
    - !ruby/object:Gem::Version
      version: '0'
requirements: []
rubyforge_project: trans-simple
rubygems_version: 1.8.21
signing_key: 
specification_version: 3
summary: Transaction::Simple provides a generic way to add active transaction support
  to objects
test_files:
- test/test_broken_graph.rb
- test/test_transaction_simple.rb
- test/test_transaction_simple_group.rb
- test/test_transaction_simple_threadsafe.rb