prepro 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +26 -0
- data/doc/gem_workflow.textile +7 -2
- data/lib/prepro/processor.rb +2 -2
- data/lib/prepro/version.rb +1 -1
- data/prepro-0.0.4.gem +0 -0
- data/prepro-0.1.5.gem +0 -0
- metadata +7 -4
data/Changelog
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Prepro Changelog
|
2
|
+
|
3
|
+
There are two versions of Prepro:
|
4
|
+
|
5
|
+
* 0.1.x series works with Rails 3.1
|
6
|
+
* 0.0.x series works with Rails 3.0 (code maintained in rails_30 branch)
|
7
|
+
|
8
|
+
We will keep the patch versions in sync, as long as we have the two series.
|
9
|
+
|
10
|
+
Rails 3.1 series
|
11
|
+
================
|
12
|
+
|
13
|
+
0.1.5
|
14
|
+
-----
|
15
|
+
|
16
|
+
First release of dual series for Rails 3.1. No functional changes from
|
17
|
+
0.0.4. The purpose of this release is to establish the dual series versioning.
|
18
|
+
|
19
|
+
Rails 3.0 series
|
20
|
+
================
|
21
|
+
|
22
|
+
0.0.5
|
23
|
+
-----
|
24
|
+
|
25
|
+
First release of dual series for Rails 3.0.
|
26
|
+
Made attribute assignment compatible with Rails 3.0
|
data/doc/gem_workflow.textile
CHANGED
@@ -3,6 +3,11 @@ h1. How to cut a new version
|
|
3
3
|
# after all changes are made
|
4
4
|
# update the version in lib/version.rb, following semantic versioning
|
5
5
|
# cd into prepro root dir
|
6
|
-
#
|
7
|
-
|
6
|
+
# build the gem
|
7
|
+
gem build prepro.gemspec
|
8
|
+
# update Changelog
|
9
|
+
# push the gem to rubygems.org
|
10
|
+
gem push prepro-x.x.x.gem
|
8
11
|
# commit all changes to git
|
12
|
+
# create a git tag for the new version
|
13
|
+
git tag '0.1.5'
|
data/lib/prepro/processor.rb
CHANGED
@@ -24,7 +24,7 @@ module Prepro
|
|
24
24
|
enforce_permissions(model_instance.creatable_by?(actor))
|
25
25
|
end
|
26
26
|
before_assign_attributes_on_create(model_instance, processor_attrs)
|
27
|
-
model_instance.
|
27
|
+
model_instance.attributes = model_attrs
|
28
28
|
before_save_on_create(model_instance, processor_attrs)
|
29
29
|
success = model_instance.save
|
30
30
|
[model_instance, success]
|
@@ -42,7 +42,7 @@ module Prepro
|
|
42
42
|
enforce_permissions(model_instance.updatable_by?(actor))
|
43
43
|
end
|
44
44
|
before_assign_attributes_on_update(model_instance, processor_attrs)
|
45
|
-
model_instance.
|
45
|
+
model_instance.attributes = model_attrs
|
46
46
|
before_save_on_update(model_instance, processor_attrs)
|
47
47
|
success = model_instance.save
|
48
48
|
[model_instance, success]
|
data/lib/prepro/version.rb
CHANGED
data/prepro-0.0.4.gem
ADDED
Binary file
|
data/prepro-0.1.5.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prepro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jo Hund
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-02-
|
18
|
+
date: 2012-02-04 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -28,6 +28,7 @@ extensions: []
|
|
28
28
|
extra_rdoc_files: []
|
29
29
|
|
30
30
|
files:
|
31
|
+
- Changelog
|
31
32
|
- doc/gem_workflow.textile
|
32
33
|
- lib/prepro.rb
|
33
34
|
- lib/prepro/authorization_error.rb
|
@@ -36,6 +37,8 @@ files:
|
|
36
37
|
- lib/prepro/version.rb
|
37
38
|
- prepro-0.0.2.gem
|
38
39
|
- prepro-0.0.3.gem
|
40
|
+
- prepro-0.0.4.gem
|
41
|
+
- prepro-0.1.5.gem
|
39
42
|
- prepro.gemspec
|
40
43
|
- readme.textile
|
41
44
|
has_rdoc: true
|