Skip to content

Commit

Permalink
Update to concise v1.0.1
Browse files Browse the repository at this point in the history
Update to concise v1.0.1 tag on main branch
  • Loading branch information
Vezu Sigidi committed Jul 16, 2014
1 parent 260ddce commit ca479d2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require "bundler/gem_tasks"
require File.expand_path('../lib/concisecss/concisecss_source', __FILE__)

desc "Get latest files from concisecss"
task "update concisecss" do
task "update-concisecss" do
files = ConcisecssSource.new
files.fetch
end
25 changes: 17 additions & 8 deletions lib/concisecss/concisecss_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ def fetch
get "#{remote}/raw/#{tag}/scss/objects/_navigation.scss", "stylesheets/objects/_navigation.scss"
get "#{remote}/raw/#{tag}/scss/objects/_progress.scss", "stylesheets/objects/_progress.scss"
get "#{remote}/raw/#{tag}/scss/objects/_wells.scss", "stylesheets/objects/_wells.scss"
get "#{remote}/raw/#{tag}/scss/objects/_clearfix.scss", "stylesheets/objects/_clearfix.scss"
get "#{remote}/raw/#{tag}/scss/objects/_conditional.scss", "stylesheets/objects/_conditional.scss"
get "#{remote}/raw/#{tag}/scss/objects/_debug.scss", "stylesheets/objects/_debug.scss"
get "#{remote}/raw/#{tag}/scss/objects/_helper.scss", "stylesheets/objects/_helper.scss"
get "#{remote}/raw/#{tag}/scss/objects/_mixins.scss", "stylesheets/objects/_mixins.scss"
get "#{remote}/raw/#{tag}/scss/objects/_normalize.scss", "stylesheets/objects/_normalize.scss"
get "#{remote}/raw/#{tag}/scss/objects/_print.scss", "stylesheets/objects/_print.scss"
get "#{remote}/raw/#{tag}/scss/objects/_shared.scss", "stylesheets/objects/_shared.scss"
get "#{remote}/raw/#{tag}/scss/generic/_clearfix.scss", "stylesheets/generic/_clearfix.scss"
get "#{remote}/raw/#{tag}/scss/generic/_conditional.scss", "stylesheets/generic/_conditional.scss"
get "#{remote}/raw/#{tag}/scss/generic/_debug.scss", "stylesheets/generic/_debug.scss"
get "#{remote}/raw/#{tag}/scss/generic/_helper.scss", "stylesheets/generic/_helper.scss"
get "#{remote}/raw/#{tag}/scss/generic/_mixins.scss", "stylesheets/generic/_mixins.scss"
get "#{remote}/raw/#{tag}/scss/generic/_normalize.scss", "stylesheets/generic/_normalize.scss"
get "#{remote}/raw/#{tag}/scss/generic/_print.scss", "stylesheets/generic/_print.scss"
get "#{remote}/raw/#{tag}/scss/generic/_shared.scss", "stylesheets/generic/_shared.scss"
get "#{remote}/raw/#{tag}/scss/base/_blockquotes.scss", "stylesheets/base/_blockquotes.scss"
get "#{remote}/raw/#{tag}/scss/base/_container.scss", "stylesheets/base/_container.scss"
get "#{remote}/raw/#{tag}/scss/base/_forms.scss", "stylesheets/base/_forms.scss"
Expand Down Expand Up @@ -59,5 +59,14 @@ def fetch_tags
end


def select msg, elements
elements.each_with_index do |element, index|
say(block_given? ? yield(element, index + 1) : ("#{index + 1}. #{element.to_s}"))
end
result = ask(msg).to_i
elements[result - 1]
end



end
2 changes: 1 addition & 1 deletion lib/concisecss/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Concisecss
VERSION = "0.0.1"
VERSION = "0.0.2"
end

0 comments on commit ca479d2

Please sign in to comment.