kentouzu 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +31 -30
- data/lib/kentouzu/controller.rb +4 -4
- data/lib/kentouzu/has_drafts.rb +0 -4
- data/lib/kentouzu/version.rb +1 -1
- metadata +3 -3
data/.rvmrc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# development environment upon cd'ing into the directory
|
5
5
|
|
6
6
|
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
|
7
|
-
environment_id="ruby-1.9.3-
|
7
|
+
environment_id="ruby-1.9.3-p385@kentouzu"
|
8
8
|
|
9
9
|
#
|
10
10
|
# Uncomment the following lines if you want to verify rvm version per project
|
@@ -77,4 +77,4 @@ then
|
|
77
77
|
echo "Using: $(tput setaf 2)$GEM_HOME$(tput sgr0)" # show the user the ruby and gemset they are using in green
|
78
78
|
else
|
79
79
|
echo "Using: $GEM_HOME" # don't use colors in interactive shells
|
80
|
-
fi
|
80
|
+
fi
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,32 +1,32 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kentouzu (0.0.
|
4
|
+
kentouzu (0.0.5)
|
5
5
|
activerecord (~> 3.0)
|
6
6
|
railties (~> 3.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (3.2.
|
12
|
-
activemodel (= 3.2.
|
13
|
-
activesupport (= 3.2.
|
11
|
+
actionpack (3.2.12)
|
12
|
+
activemodel (= 3.2.12)
|
13
|
+
activesupport (= 3.2.12)
|
14
14
|
builder (~> 3.0.0)
|
15
15
|
erubis (~> 2.7.0)
|
16
16
|
journey (~> 1.0.4)
|
17
|
-
rack (~> 1.4.
|
17
|
+
rack (~> 1.4.5)
|
18
18
|
rack-cache (~> 1.2)
|
19
19
|
rack-test (~> 0.6.1)
|
20
|
-
sprockets (~> 2.1
|
21
|
-
activemodel (3.2.
|
22
|
-
activesupport (= 3.2.
|
20
|
+
sprockets (~> 2.2.1)
|
21
|
+
activemodel (3.2.12)
|
22
|
+
activesupport (= 3.2.12)
|
23
23
|
builder (~> 3.0.0)
|
24
|
-
activerecord (3.2.
|
25
|
-
activemodel (= 3.2.
|
26
|
-
activesupport (= 3.2.
|
24
|
+
activerecord (3.2.12)
|
25
|
+
activemodel (= 3.2.12)
|
26
|
+
activesupport (= 3.2.12)
|
27
27
|
arel (~> 3.0.2)
|
28
28
|
tzinfo (~> 0.3.29)
|
29
|
-
activesupport (3.2.
|
29
|
+
activesupport (3.2.12)
|
30
30
|
i18n (~> 0.6)
|
31
31
|
multi_json (~> 1.0)
|
32
32
|
arel (3.0.2)
|
@@ -36,38 +36,39 @@ GEM
|
|
36
36
|
hike (1.2.1)
|
37
37
|
i18n (0.6.1)
|
38
38
|
journey (1.0.4)
|
39
|
-
json (1.7.
|
40
|
-
multi_json (1.
|
41
|
-
rack (1.4.
|
39
|
+
json (1.7.7)
|
40
|
+
multi_json (1.6.1)
|
41
|
+
rack (1.4.5)
|
42
42
|
rack-cache (1.2)
|
43
43
|
rack (>= 0.4)
|
44
|
-
rack-ssl (1.3.
|
44
|
+
rack-ssl (1.3.3)
|
45
45
|
rack
|
46
46
|
rack-test (0.6.2)
|
47
47
|
rack (>= 1.0)
|
48
|
-
railties (3.2.
|
49
|
-
actionpack (= 3.2.
|
50
|
-
activesupport (= 3.2.
|
48
|
+
railties (3.2.12)
|
49
|
+
actionpack (= 3.2.12)
|
50
|
+
activesupport (= 3.2.12)
|
51
51
|
rack-ssl (~> 1.3.2)
|
52
52
|
rake (>= 0.8.7)
|
53
53
|
rdoc (~> 3.4)
|
54
54
|
thor (>= 0.14.6, < 2.0)
|
55
|
-
rake (10.0.
|
56
|
-
rdoc (3.12)
|
55
|
+
rake (10.0.3)
|
56
|
+
rdoc (3.12.1)
|
57
57
|
json (~> 1.4)
|
58
|
-
rspec (2.
|
59
|
-
rspec-core (~> 2.
|
60
|
-
rspec-expectations (~> 2.
|
61
|
-
rspec-mocks (~> 2.
|
62
|
-
rspec-core (2.
|
63
|
-
rspec-expectations (2.
|
58
|
+
rspec (2.12.0)
|
59
|
+
rspec-core (~> 2.12.0)
|
60
|
+
rspec-expectations (~> 2.12.0)
|
61
|
+
rspec-mocks (~> 2.12.0)
|
62
|
+
rspec-core (2.12.2)
|
63
|
+
rspec-expectations (2.12.1)
|
64
64
|
diff-lcs (~> 1.1.3)
|
65
|
-
rspec-mocks (2.
|
66
|
-
sprockets (2.
|
65
|
+
rspec-mocks (2.12.2)
|
66
|
+
sprockets (2.2.2)
|
67
67
|
hike (~> 1.2)
|
68
|
+
multi_json (~> 1.0)
|
68
69
|
rack (~> 1.0)
|
69
70
|
tilt (~> 1.1, != 1.3.0)
|
70
|
-
thor (0.
|
71
|
+
thor (0.17.0)
|
71
72
|
tilt (1.3.3)
|
72
73
|
tzinfo (0.3.35)
|
73
74
|
|
data/lib/kentouzu/controller.rb
CHANGED
@@ -22,10 +22,6 @@ module Kentouzu
|
|
22
22
|
|
23
23
|
private
|
24
24
|
|
25
|
-
def set_drafts_enabled_for_controller
|
26
|
-
::Kentouzu.enabled_for_controller = drafts_enabled_for_controller
|
27
|
-
end
|
28
|
-
|
29
25
|
def set_drafts_source
|
30
26
|
::Kentouzu.source = user_for_drafts
|
31
27
|
end
|
@@ -33,5 +29,9 @@ module Kentouzu
|
|
33
29
|
def set_drafts_controller_info
|
34
30
|
::Kentouzu.controller_info = info_for_drafts
|
35
31
|
end
|
32
|
+
|
33
|
+
def set_drafts_enabled_for_controller
|
34
|
+
::Kentouzu.enabled_for_controller = drafts_enabled_for_controller
|
35
|
+
end
|
36
36
|
end
|
37
37
|
end
|
data/lib/kentouzu/has_drafts.rb
CHANGED
data/lib/kentouzu/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kentouzu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project: kentouzu
|
108
|
-
rubygems_version: 1.8.
|
108
|
+
rubygems_version: 1.8.25
|
109
109
|
signing_key:
|
110
110
|
specification_version: 3
|
111
111
|
summary: Add drafts to ActiveRecord models.
|