Skip to content
Permalink
Browse files

Consistently use double quotes

  • Loading branch information...
tysongach committed Oct 19, 2019
1 parent d889086 commit 3ded6201eaf4989a5adeecf62fd9f52694f86b44
Showing with 30 additions and 30 deletions.
  1. +1 −1 Gemfile
  2. +3 −3 core/_buttons.scss
  3. +14 −14 core/_forms.scss
  4. +12 −12 lib/bitters/generator.rb
@@ -1,3 +1,3 @@
source 'https://rubygems.org'
source "https://rubygems.org"

gemspec
@@ -1,7 +1,7 @@
button,
[type='button'],
[type='reset'],
[type='submit'] {
[type="button"],
[type="reset"],
[type="submit"] {
appearance: none;
background-color: $action-color;
border: 0;
@@ -30,20 +30,20 @@ textarea {
font-size: 1rem;
}

[type='color'],
[type='date'],
[type='datetime'],
[type='datetime-local'],
[type='email'],
[type='month'],
[type='number'],
[type='password'],
[type='search'],
[type='tel'],
[type='text'],
[type='time'],
[type='url'],
[type='week'],
[type="color"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
input:not([type]),
textarea {
appearance: none;
@@ -1,15 +1,15 @@
require 'bitters/version'
require 'fileutils'
require 'pathname'
require 'thor'
require "bitters/version"
require "fileutils"
require "pathname"
require "thor"

module Bitters
class Generator < Thor
map ['-v', '--version'] => :version
map ['scaffold'] => :install
map ['delete'] => :remove
map ["-v", "--version"] => :version
map ["scaffold"] => :install
map ["delete"] => :remove

desc 'install', 'Install Bitters into your project'
desc "install", "Install Bitters into your project"
method_options path: :string
def install
if bitters_files_already_exist?
@@ -20,7 +20,7 @@ def install
end
end

desc 'reset', 'Reset Bitters'
desc "reset", "Reset Bitters"
def reset
if bitters_files_already_exist?
remove_bitters_directory
@@ -31,7 +31,7 @@ def reset
end
end

desc 'remove', 'Remove Bitters'
desc "remove", "Remove Bitters"
def remove
if bitters_files_already_exist?
remove_bitters_directory
@@ -41,7 +41,7 @@ def remove
end
end

desc 'version', 'Show Bitters version'
desc "version", "Show Bitters version"
def version
say "Bitters #{Bitters::VERSION}"
end
@@ -53,7 +53,7 @@ def bitters_files_already_exist?
end

def install_path
Pathname.new(options[:path].to_s).join('base')
Pathname.new(options[:path].to_s).join("base")
end

def install_files

0 comments on commit 3ded620

Please sign in to comment.
You can’t perform that action at this time.