Skip to content
Browse files

trying to update to the latests gems; having issues with compass-rails

  • Loading branch information...
1 parent 0b23d63 commit b7f9ca4853858d7977ccfa2a77fa2e376ed8a200 @dnagir committed Apr 10, 2012
Showing with 8 additions and 6 deletions.
  1. +4 −3 ios-checkboxes.gemspec
  2. +1 −3 lib/assets/stylesheets/ios-checkboxes.css.sass
  3. +3 −0 lib/ios/checkboxes.rb
View
7 ios-checkboxes.gemspec
@@ -7,7 +7,7 @@ require "ios-checkboxes/version"
Gem::Specification.new do |s|
s.name = "ios-checkboxes"
s.version = IosCheckboxes::VERSION
- s.authors = ["Dmytrii Nagirniak, Thomas Reynolds"]
+ s.authors = ["Dmytrii Nagirniak", "Thomas Reynolds"]
s.email = ["dnagir@gmail.com"]
s.homepage = "https://github.com/dnagir/ios-checkboxes"
s.summary = "iOS checkboxes for Rails"
@@ -17,9 +17,10 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features,build}/*`.split("\n")
s.require_paths = ["lib"]
- s.add_dependency "rails", "~> 3.1.2"
+ s.add_dependency "rails", ">= 3.1.2"
+ s.add_dependency "compass", ">= 0.12"
@manuelmeurer
manuelmeurer added a note May 14, 2012

Is this needed when compass-rails is used?

@dnagir
Owner
dnagir added a note May 16, 2012

I don't think it is. Just making explicit dependency here. Why?

@manuelmeurer
manuelmeurer added a note May 16, 2012

I just thought when compass-rails is used, you don't have to depend on compass itself anymore, so this line could be removed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
s.add_dependency "sass-rails"
- s.add_dependency "compass", ">= 0.12.alpha.1"
+ s.add_dependency "compass-rails"
s.add_development_dependency "rspec-rails"
end
View
4 lib/assets/stylesheets/ios-checkboxes.css.sass
@@ -1,3 +1 @@
-/*
- *= require ios-checkboxes/ios-checkboxes
- */
+@import "ios-checkboxes/ios-checkboxes"
View
3 lib/ios/checkboxes.rb
@@ -0,0 +1,3 @@
+# Bundler infers the require statement as 'ios/checkboxes'
+# TODO: Avoid using the 'ios/checkboxes' directory
+require 'ios-checkboxes'

0 comments on commit b7f9ca4

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