harukizaemon-restful_transactions 2.0.0 → 2.0.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/CHANGELOG.rdoc
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
== 2.0.1 released 2009-01-14
|
|
2
|
+
|
|
3
|
+
* Change package structure.
|
|
4
|
+
|
|
5
|
+
== 2.0.0 released 2009-01-07
|
|
6
|
+
|
|
7
|
+
* Updated to Rails 2.2.2.
|
|
8
|
+
|
|
9
|
+
== 2008-02-27
|
|
10
|
+
|
|
11
|
+
* Ensure the filter goes to the start of the queue.
|
|
12
|
+
|
|
13
|
+
== 2008-02-27
|
|
14
|
+
|
|
15
|
+
* Wrap any any action executed within a POST, PUT or DELETE request rather than just create, update and delete actions. This is _actually_ RESTful.
|
|
16
|
+
|
|
17
|
+
== 2008-01-13
|
|
18
|
+
|
|
19
|
+
* Initial version.
|
data/MIT-LICENSE
CHANGED
data/README.rdoc
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
= Restful Transactions
|
|
2
|
+
|
|
3
|
+
Restful Transactions is a Ruby on Rails plugin that wraps any controller action executed within a POST, PUT or DELETE request in a transaction.
|
|
4
|
+
|
|
5
|
+
== Installation
|
|
6
|
+
|
|
7
|
+
You have two choices for installation. The first uses a gem (recommended):
|
|
8
|
+
|
|
9
|
+
config.gem "harukizaemon-restful_transactions", :lib => "restful_transactions", :source => "http://gems.github.com"
|
|
10
|
+
|
|
11
|
+
Or you can use the Rails plugin
|
|
12
|
+
|
|
13
|
+
$ ruby script/plugin install git://github.com/harukizaemon/restful_transactions.git
|
|
14
|
+
|
|
15
|
+
=== License
|
|
16
|
+
|
|
17
|
+
This plugin is copyright 2008 by RedHill Consulting, Pty. Ltd. and is released under the MIT license.
|
data/lib/restful_transactions.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ActionController::Base.send(:include,
|
|
1
|
+
ActionController::Base.send(:include, HarukiZaemon::RestfulTransactions::ActionController::Base)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "restful_transactions"
|
|
3
|
-
s.version = "2.0.
|
|
4
|
-
s.date = "2009-01-
|
|
3
|
+
s.version = "2.0.1"
|
|
4
|
+
s.date = "2009-01-14"
|
|
5
5
|
s.summary = "Ensure that any Ruby on Rails controller action executed within a POST, PUT or DELETE request is wrapped in a transaction."
|
|
6
|
-
s.email = "
|
|
6
|
+
s.email = "haruki.zaemon@gmail.com"
|
|
7
7
|
s.homepage = "http://github.com/harukizaemon/restful_transactions"
|
|
8
8
|
s.description = "Restful Transactions is a Ruby on Rails plugin that wraps any controller action executed within a POST, PUT or DELETE request in a transaction."
|
|
9
9
|
s.has_rdoc = true
|
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
"README.rdoc",
|
|
14
14
|
"restful_transactions.gemspec",
|
|
15
15
|
"lib/restful_transactions.rb",
|
|
16
|
-
"lib/
|
|
16
|
+
"lib/haruki_zaemon/restful_transactions/action_controller/base.rb"]
|
|
17
17
|
s.rdoc_options = ["--main", "README.rdoc"]
|
|
18
18
|
s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc"]
|
|
19
19
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: harukizaemon-restful_transactions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Harris
|
|
@@ -9,12 +9,12 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-01-
|
|
12
|
+
date: 2009-01-14 00:00:00 -08:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
16
16
|
description: Restful Transactions is a Ruby on Rails plugin that wraps any controller action executed within a POST, PUT or DELETE request in a transaction.
|
|
17
|
-
email:
|
|
17
|
+
email: haruki.zaemon@gmail.com
|
|
18
18
|
executables: []
|
|
19
19
|
|
|
20
20
|
extensions: []
|
|
@@ -28,7 +28,7 @@ files:
|
|
|
28
28
|
- README.rdoc
|
|
29
29
|
- restful_transactions.gemspec
|
|
30
30
|
- lib/restful_transactions.rb
|
|
31
|
-
- lib/
|
|
31
|
+
- lib/haruki_zaemon/restful_transactions/action_controller/base.rb
|
|
32
32
|
has_rdoc: true
|
|
33
33
|
homepage: http://github.com/harukizaemon/restful_transactions
|
|
34
34
|
post_install_message:
|