Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af169da
commit 4ba0ace
Showing
29 changed files
with
274 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
inherit_from: .rubocop_todo.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2018-12-14 00:26:03 -0500 using RuboCop version 0.61.1. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. | ||
# SupportedStylesAlignWith: keyword, variable, start_of_line | ||
Layout/EndAlignment: | ||
Exclude: | ||
- 'tasks/converter.rb' | ||
|
||
# Offense count: 3 | ||
Lint/UselessAssignment: | ||
Exclude: | ||
- 'tasks/converter.rb' | ||
|
||
# Offense count: 4 | ||
Metrics/AbcSize: | ||
Max: 23 | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
# ExcludedMethods: refine | ||
Metrics/BlockLength: | ||
Max: 36 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 114 | ||
|
||
# Offense count: 1 | ||
Metrics/CyclomaticComplexity: | ||
Max: 7 | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
Metrics/MethodLength: | ||
Max: 14 | ||
|
||
# Offense count: 1 | ||
Metrics/PerceivedComplexity: | ||
Max: 8 | ||
|
||
# Offense count: 1 | ||
Naming/AccessorMethodName: | ||
Exclude: | ||
- 'tasks/converter.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. | ||
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS | ||
Naming/FileName: | ||
Exclude: | ||
- 'lib/fomantic-ui-sass.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: EnforcedStyleForLeadingUnderscores. | ||
# SupportedStylesForLeadingUnderscores: disallowed, required, optional | ||
Naming/MemoizedInstanceVariableName: | ||
Exclude: | ||
- 'tasks/converter.rb' | ||
|
||
# Offense count: 1 | ||
Security/Eval: | ||
Exclude: | ||
- 'lib/fomantic/ui/sass/breadcrumbs.rb' | ||
|
||
# Offense count: 2 | ||
Security/Open: | ||
Exclude: | ||
- 'tasks/converter.rb' | ||
|
||
# Offense count: 9 | ||
Style/Documentation: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'test/**/*' | ||
- 'app/helpers/semantic_breadcrumbs_helper.rb' | ||
- 'app/helpers/semantic_flash_helper.rb' | ||
- 'app/helpers/semantic_icon_helper.rb' | ||
- 'lib/fomantic-ui-sass.rb' | ||
- 'lib/fomantic/ui/sass/breadcrumbs.rb' | ||
- 'lib/fomantic/ui/sass/engine.rb' | ||
- 'tasks/converter.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: MinBodyLength. | ||
Style/GuardClause: | ||
Exclude: | ||
- 'lib/fomantic-ui-sass.rb' | ||
|
||
# Offense count: 51 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 174 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require "bundler/gem_tasks" | ||
require 'bundler/gem_tasks' | ||
|
||
desc 'Convert semantic-ui less to sass' | ||
task :convert, :branch do |t, args| | ||
task :convert, :branch do |_t, args| | ||
require './tasks/converter' | ||
branch = args[:branch] | ||
Converter.new(branch).process | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'fomantic/ui/sass/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "fomantic-ui-sass" | ||
spec.name = 'fomantic-ui-sass' | ||
spec.version = Fomantic::Ui::Sass::VERSION | ||
spec.authors = ["doabit", "shanecav84"] | ||
spec.email = ["doinsist@gmail.com", "shane@shanecav.net"] | ||
spec.description = %q{Fomantic UI, converted to Sass and ready to drop into Rails, Compass, or Sprockets.} | ||
spec.summary = %q{Fomantic UI, converted to Sass and ready to drop into Rails, Compass, or Sprockets.} | ||
spec.homepage = "http://github.com/shanecav84/fomantic-ui-sass" | ||
spec.license = "MIT" | ||
spec.authors = %w[doabit shanecav84] | ||
spec.email = ['doinsist@gmail.com', 'shane@shanecav.net'] | ||
spec.description = 'Fomantic UI, converted to Sass and ready to drop into Rails, Compass, or Sprockets.' | ||
spec.summary = 'Fomantic UI, converted to Sass and ready to drop into Rails, Compass, or Sprockets.' | ||
spec.homepage = 'http://github.com/shanecav84/fomantic-ui-sass' | ||
spec.license = 'MIT' | ||
|
||
spec.files = `git ls-files`.split($/) | ||
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_runtime_dependency 'autoprefixer-rails' | ||
spec.add_runtime_dependency 'rails', '>= 3.2.0' | ||
spec.add_runtime_dependency 'sass', '>= 3.2' | ||
spec.add_runtime_dependency 'sass-rails', '>= 3.2' | ||
spec.add_runtime_dependency 'sprockets-rails', '>= 2.1.3' | ||
|
||
spec.add_development_dependency "bundler", ">= 1.3" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency 'pry' | ||
spec.add_development_dependency 'bundler', '>= 1.3' | ||
spec.add_development_dependency 'dotenv' | ||
spec.add_development_dependency 'pry' | ||
spec.add_development_dependency 'rake' | ||
spec.add_development_dependency 'rspec-rails', '>= 3.0' | ||
spec.add_development_dependency 'rubocop' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
module Fomantic | ||
module Ui | ||
module Sass | ||
VERSION = "2.6.4" | ||
SEMANTIC_UI_SHA = 'e69d8dff1c3db460bb232b9539a0d1d6cf7ff7cc' | ||
VERSION = '2.6.4'.freeze | ||
SEMANTIC_UI_SHA = 'e69d8dff1c3db460bb232b9539a0d1d6cf7ff7cc'.freeze | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require File.expand_path('../config/application', __FILE__) | ||
require File.expand_path('config/application', __dir__) | ||
|
||
Dummy::Application.load_tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env ruby | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) | ||
load Gem.bin_path('bundler', 'bundle') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env ruby | ||
APP_PATH = File.expand_path('../../config/application', __FILE__) | ||
APP_PATH = File.expand_path('../config/application', __dir__) | ||
require_relative '../config/boot' | ||
require 'rails/commands' |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# This file is used by Rack-based servers to start the application. | ||
|
||
require ::File.expand_path('../config/environment', __FILE__) | ||
require ::File.expand_path('../config/environment', __FILE__) | ||
run Rails.application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Set up gems listed in the Gemfile. | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__) | ||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../Gemfile', __dir__) | ||
|
||
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) | ||
$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__) | ||
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) | ||
$LOAD_PATH.unshift File.expand_path('../../../lib', __dir__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Load the Rails application. | ||
require File.expand_path('../application', __FILE__) | ||
require File.expand_path('application', __dir__) | ||
|
||
# Initialize the Rails application. | ||
Dummy::Application.initialize! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.