Permalink
Browse files

utf-8 & version

  • Loading branch information...
1 parent 11ef72e commit 9e5d2c4d4cad9d10af2d4d7aa40264816bda22cd @mustafaturan committed Aug 24, 2012
View
@@ -6,7 +6,7 @@ source "http://rubygems.org"
gemspec
# jquery-rails is used by the dummy application
-gem "jquery-rails"
+#gem "jquery-rails"
# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
View
@@ -1,9 +1,9 @@
PATH
remote: .
specs:
- find_cache (0.0.1)
+ find_cache (0.1.0)
dalli
- rails (~> 3.2.8)
+ rails (~> 3.2.0)
simple_uuid
GEM
@@ -43,9 +43,6 @@ GEM
hike (1.2.1)
i18n (0.6.0)
journey (1.0.4)
- jquery-rails (2.1.1)
- railties (>= 3.1.0, < 5.0)
- thor (~> 0.14)
json (1.7.5)
mail (2.4.4)
i18n (>= 0.4.0)
@@ -97,5 +94,4 @@ PLATFORMS
DEPENDENCIES
find_cache!
- jquery-rails
sqlite3
View
@@ -0,0 +1,22 @@
+Copyright (c) 2012 Mustafa TURAN
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,29 @@
+# FindCache
+
+TODO: Write a gem description
+
+## Installation
+
+Add this line to your application's Gemfile:
+
+ gem 'find_cache'
+
+And then execute:
+
+ $ bundle
+
+Or install it yourself as:
+
+ $ gem install find_cache
+
+## Usage
+
+TODO: Write usage instructions here
+
+## Contributing
+
+1. Fork it
+2. Create your feature branch (`git checkout -b my-new-feature`)
+3. Commit your changes (`git commit -am 'Added some feature'`)
+4. Push to the branch (`git push origin my-new-feature`)
+5. Create new Pull Request
View
Binary file not shown.
View
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + ["CHANGE-LOG", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "rails", "~> 3.2.8"
+ s.add_dependency "rails", "~> 3.2.0"
s.add_dependency "simple_uuid"
s.add_dependency "dalli"
View
@@ -1,3 +1,4 @@
+# -*- encoding: utf-8 -*-
require "active_support"
require "active_record"
require "find_cache/init"
@@ -1,3 +1,4 @@
+# -*- encoding: utf-8 -*-
module FindCache
module Cacheable
extend ActiveSupport::Concern
@@ -1 +1,2 @@
+# -*- encoding: utf-8 -*-
$find_cache_store = {}
@@ -1,3 +1,4 @@
+# -*- encoding: utf-8 -*-
module FindCache
class KeyGen
require "simple_uuid"
@@ -1,3 +1,4 @@
+# -*- encoding: utf-8 -*-
module FindCache
- VERSION = "0.0.1"
+ VERSION = "0.1.0"
end
@@ -48,4 +48,4 @@ def test_find_all_by_id_should_be_find_all_cache
assert_equal Comment.order("id ASC").find_all_by_id(ids), Comment.find_all_cache(ids, "id ASC")
end
-end
+end
View
@@ -1,3 +1,4 @@
+# -*- encoding: utf-8 -*-
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

0 comments on commit 9e5d2c4

Please sign in to comment.