Update version and remove jquery dependency

This commit is contained in:
ccocchi 2012-04-03 19:04:14 +02:00
parent 3c7448ebfd
commit bf2305dcc5
4 changed files with 10 additions and 12 deletions

View File

@ -6,7 +6,7 @@ source "http://rubygems.org"
gemspec gemspec
# jquery-rails is used by the dummy application # jquery-rails is used by the dummy application
gem "jquery-rails"
gem 'rspec-mocks' gem 'rspec-mocks'
# Declare any dependencies that are still in development here instead of in # Declare any dependencies that are still in development here instead of in

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
rabl-fast-json (0.0.1) rabl-fast-json (0.1.0)
rails (~> 3.2.1) rails (~> 3.2.1)
GEM GEM
@ -40,15 +40,12 @@ GEM
hike (1.2.1) hike (1.2.1)
i18n (0.6.0) i18n (0.6.0)
journey (1.0.3) journey (1.0.3)
jquery-rails (2.0.0)
railties (>= 3.2.0.beta, < 5.0)
thor (~> 0.14)
json (1.6.5) json (1.6.5)
mail (2.4.1) mail (2.4.4)
i18n (>= 0.4.0) i18n (>= 0.4.0)
mime-types (~> 1.16) mime-types (~> 1.16)
treetop (~> 1.4.8) treetop (~> 1.4.8)
mime-types (1.17.2) mime-types (1.18)
multi_json (1.1.0) multi_json (1.1.0)
polyglot (0.3.3) polyglot (0.3.3)
rack (1.4.1) rack (1.4.1)
@ -87,13 +84,12 @@ GEM
treetop (1.4.10) treetop (1.4.10)
polyglot polyglot
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
tzinfo (0.3.31) tzinfo (0.3.32)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
jquery-rails
rabl-fast-json! rabl-fast-json!
rspec-mocks rspec-mocks
sqlite3 sqlite3

View File

@ -13,14 +13,16 @@ require 'rabl-fast-json/handler'
require 'rabl-fast-json/railtie' require 'rabl-fast-json/railtie'
module RablFastJson module RablFastJson
extend self
mattr_accessor :cache_templates mattr_accessor :cache_templates
@@cache_templates = true @@cache_templates = true
def self.configure def configure
yield self yield self
end end
def self.cache_templates? def cache_templates?
ActionController::Base.perform_caching && @@cache_templates ActionController::Base.perform_caching && @@cache_templates
end end
end end

View File

@ -1,3 +1,3 @@
module RablFastJson module RablFastJson
VERSION = "0.0.1" VERSION = '0.1.0'
end end