typus 3.1.6 → 3.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +18 -0
- data/MIT-LICENSE +1 -1
- data/app/controllers/admin/resources_controller.rb +1 -1
- data/app/views/admin/resources/edit/{_rencently_edited.html.erb → _recently_edited.html.erb} +0 -0
- data/app/views/admin/templates/_has_many.html.erb +1 -1
- data/app/views/helpers/admin/resources/_table.html.erb +1 -1
- data/lib/support/object.rb +1 -1
- data/lib/typus.rb +1 -1
- data/lib/typus/controller/acts_as_list.rb +3 -10
- data/lib/typus/controller/trash.rb +1 -4
- data/lib/typus/version.rb +1 -1
- data/typus.gemspec +1 -1
- metadata +15 -15
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,24 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
=========
|
3
3
|
|
4
|
+
3.1.8 (unreleased)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
Changes: <https://github.com/fesplugas/typus/compare/v3.1.7...master>
|
8
|
+
|
9
|
+
|
10
|
+
3.1.7 (2012-01-25)
|
11
|
+
------------------
|
12
|
+
|
13
|
+
* [FIXED] Require ActiveRecord extension only if ActiveRecord is defined.
|
14
|
+
|
15
|
+
* [NEW] Show association name on related tables.
|
16
|
+
|
17
|
+
* [FIXED] Fixed gemspec to add compatibility with Rails 3.2.0
|
18
|
+
|
19
|
+
Changes: <https://github.com/fesplugas/typus/compare/v3.1.6...v3.1.7>
|
20
|
+
|
21
|
+
|
4
22
|
3.1.6 (2012-01-02)
|
5
23
|
------------------
|
6
24
|
|
data/MIT-LICENSE
CHANGED
data/app/views/admin/resources/edit/{_rencently_edited.html.erb → _recently_edited.html.erb}
RENAMED
File without changes
|
data/lib/support/object.rb
CHANGED
data/lib/typus.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
##
|
2
|
+
# Module designed to work with `acts_as_list`.
|
3
|
+
#
|
1
4
|
module Typus
|
2
5
|
module Controller
|
3
6
|
module ActsAsList
|
@@ -7,16 +10,6 @@ module Typus
|
|
7
10
|
base.before_filter :check_resource_ownership, :only => [:position]
|
8
11
|
end
|
9
12
|
|
10
|
-
##
|
11
|
-
# This module is designed to work with `acts_as_list`.
|
12
|
-
#
|
13
|
-
# Available positions are:
|
14
|
-
#
|
15
|
-
# - move_to_top
|
16
|
-
# - move_higher
|
17
|
-
# - move_lower
|
18
|
-
# - move_to_bottom
|
19
|
-
#
|
20
13
|
def position
|
21
14
|
if %w(move_to_top move_higher move_lower move_to_bottom).include?(params[:go])
|
22
15
|
@item.send(params[:go])
|
data/lib/typus/version.rb
CHANGED
data/typus.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.add_dependency "bcrypt-ruby", "~> 3.0.0"
|
30
30
|
s.add_dependency "jquery-rails"
|
31
31
|
s.add_dependency "kaminari", "~> 0.12.4"
|
32
|
-
s.add_dependency "rails", "
|
32
|
+
s.add_dependency "rails", ">= 3.1.3"
|
33
33
|
|
34
34
|
# Development dependencies are defined in the `Gemfile`.
|
35
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: typus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bcrypt-ruby
|
16
|
-
requirement: &
|
16
|
+
requirement: &70093502726560 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70093502726560
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &70093502724380 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70093502724380
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: kaminari
|
38
|
-
requirement: &
|
38
|
+
requirement: &70093502721740 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,18 +43,18 @@ dependencies:
|
|
43
43
|
version: 0.12.4
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70093502721740
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &70093502737120 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.1.3
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70093502737120
|
58
58
|
description: Ruby on Rails Admin Panel (Engine) to allow trusted users edit structured
|
59
59
|
content.
|
60
60
|
email:
|
@@ -138,7 +138,7 @@ files:
|
|
138
138
|
- app/views/admin/resources/_show.html.erb
|
139
139
|
- app/views/admin/resources/edit.html.erb
|
140
140
|
- app/views/admin/resources/edit/_actions.html.erb
|
141
|
-
- app/views/admin/resources/edit/
|
141
|
+
- app/views/admin/resources/edit/_recently_edited.html.erb
|
142
142
|
- app/views/admin/resources/index.html.erb
|
143
143
|
- app/views/admin/resources/new.html.erb
|
144
144
|
- app/views/admin/resources/show.html.erb
|
@@ -333,7 +333,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
333
333
|
version: '0'
|
334
334
|
segments:
|
335
335
|
- 0
|
336
|
-
hash:
|
336
|
+
hash: 3514957204800588845
|
337
337
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
338
338
|
none: false
|
339
339
|
requirements:
|
@@ -342,10 +342,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
342
342
|
version: '0'
|
343
343
|
segments:
|
344
344
|
- 0
|
345
|
-
hash:
|
345
|
+
hash: 3514957204800588845
|
346
346
|
requirements: []
|
347
347
|
rubyforge_project: typus
|
348
|
-
rubygems_version: 1.8.
|
348
|
+
rubygems_version: 1.8.15
|
349
349
|
signing_key:
|
350
350
|
specification_version: 3
|
351
351
|
summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold
|