Skip to content
Browse files

Fixed dependencies (version bump)

  • Loading branch information...
1 parent 3061473 commit 6897b6eb8a27b6d39d31c5064d57e57dd63e8337 @quirkey committed
Showing with 17 additions and 3 deletions.
  1. +5 −0 History.txt
  2. +1 −0 Rakefile
  3. +1 −1 lib/qadmin.rb
  4. +5 −1 lib/qadmin/helper.rb
  5. +5 −1 qadmin.gemspec
View
5 History.txt
@@ -1,3 +1,8 @@
+== 0.2.1 2009-03-22
+
+* 1 minor enhancement:
+ * Fixed dependencies (will_paginate)
+
== 0.2.0 2009-03-20
* 1 major enhancement:
View
1 Rakefile
@@ -11,6 +11,7 @@ $hoe = Hoe.new('qadmin', Qadmin::VERSION) do |p|
p.summary = p.description = "An [almost] one command solution for adding admin interfaces/resources to a Rails app."
p.extra_deps = [
['activesupport','>= 2.3.2'],
+ ['mislav-will_paginate','>= 2.3.7'],
['restful_query','>= 0.2.0']
]
p.extra_dev_deps = [
View
2 lib/qadmin.rb
@@ -6,7 +6,7 @@
end
module Qadmin
- VERSION = '0.2.0'
+ VERSION = '0.2.1'
end
%w{
View
6 lib/qadmin/helper.rb
@@ -102,7 +102,7 @@ def admin_table(collection, options = {})
when :boolean
yes?(raw_value)
when :text
- truncate_words(raw_value, 10, ". . . #{link_to('More', send("#{model_instance_name}_path", instance))}")
+ truncate(raw_value, :length => 30, :omission => ". . . #{link_to('More', send("#{model_instance_name}_path", instance))}")
else
h(raw_value)
end
@@ -123,6 +123,10 @@ def admin_table(collection, options = {})
def alt_rows
%{class="#{cycle('alt', '')}"}
end
+
+ def yes?(boolean)
+ boolean ? 'Yes' : 'No'
+ end
end
end
View
6 qadmin.gemspec
@@ -1,8 +1,9 @@
+(in /Users/aaronquint/Sites/__active/indagare/vendor/plugins/qadmin)
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{qadmin}
- s.version = "0.2.0"
+ s.version = "0.2.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Aaron Quint"]
@@ -27,12 +28,14 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.2"])
+ s.add_runtime_dependency(%q<mislav-will_paginate>, [">= 2.3.7"])
s.add_runtime_dependency(%q<restful_query>, [">= 0.2.0"])
s.add_development_dependency(%q<newgem>, [">= 1.2.3"])
s.add_development_dependency(%q<Shoulda>, [">= 1.2.0"])
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
else
s.add_dependency(%q<activesupport>, [">= 2.3.2"])
+ s.add_dependency(%q<mislav-will_paginate>, [">= 2.3.7"])
s.add_dependency(%q<restful_query>, [">= 0.2.0"])
s.add_dependency(%q<newgem>, [">= 1.2.3"])
s.add_dependency(%q<Shoulda>, [">= 1.2.0"])
@@ -40,6 +43,7 @@ Gem::Specification.new do |s|
end
else
s.add_dependency(%q<activesupport>, [">= 2.3.2"])
+ s.add_dependency(%q<mislav-will_paginate>, [">= 2.3.7"])
s.add_dependency(%q<restful_query>, [">= 0.2.0"])
s.add_dependency(%q<newgem>, [">= 1.2.3"])
s.add_dependency(%q<Shoulda>, [">= 1.2.0"])

0 comments on commit 6897b6e

Please sign in to comment.
Something went wrong with that request. Please try again.