diff --git a/Gemfile b/Gemfile index 1a6203b0..cb789464 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,11 @@ source 'https://rubygems.org' -source 'https://rails-assets.org' # Specify your gem's dependencies in best_in_place.gemspec gemspec - -gem 'rails-assets-jquery', '1.11.1' -gem 'rails-assets-jquery-ui', '1.10.4' +source 'https://rails-assets.org' do + gem 'rails-assets-jquery', '1.11.1' + gem 'rails-assets-jquery-ui', '1.10.4' +end gem 'rdiscount' gem 'rspec-rails' gem 'nokogiri' diff --git a/README.md b/README.md index a2ff1014..69e275ca 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The editor works by PUTting the updated value to the server and GETting the upda Installing *best_in_place* is very easy and straight-forward. Just begin including the gem in your Gemfile: - gem 'best_in_place', '~> 3.0.1' + gem 'best_in_place', '~> 4.0' After that, specify the use of the jquery and best in place javascripts in your application.js, and optionally specify jquery-ui if diff --git a/best_in_place.gemspec b/best_in_place.gemspec index 39dc5df0..99960563 100644 --- a/best_in_place.gemspec +++ b/best_in_place.gemspec @@ -1,6 +1,4 @@ -# -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require 'best_in_place/version' +require_relative 'lib/best_in_place/version' Gem::Specification.new do |s| s.name = "best_in_place" @@ -8,7 +6,7 @@ Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.authors = ["Bernat Farrero"] s.email = ["bernat@itnig.net"] - s.homepage = "http://github.com/bernat/best_in_place" + s.homepage = "https://github.com/bernat/best_in_place" s.summary = <