-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial gem setup with rails dummy app
- Loading branch information
1 parent
7c4bbef
commit aedfbff
Showing
89 changed files
with
1,525 additions
and
0 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,50 @@ | ||
# This is a sample .codeclimate.yml configured for Engine analysis on Code | ||
# Climate Platform. For an overview of the Code Climate Platform, see here: | ||
# http://docs.codeclimate.com/article/300-the-codeclimate-platform | ||
|
||
# Under the engines key, you can configure which engines will analyze your repo. | ||
# Each key is an engine name. For each value, you need to specify enabled: true | ||
# to enable the engine as well as any other engines-specific configuration. | ||
|
||
# For more details, see here: | ||
# http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform | ||
|
||
# For a list of all available engines, see here: | ||
# http://docs.codeclimate.com/article/296-engines-available-engines | ||
|
||
engines: | ||
# to turn on an engine, add it here and set enabled to `true` | ||
# to turn off an engine, set enabled to `false` or remove it | ||
rubocop: | ||
enabled: true | ||
# golint: | ||
# enabled: true | ||
# gofmt: | ||
# enabled: true | ||
# eslint: | ||
# enabled: true | ||
# csslint: | ||
# enabled: true | ||
|
||
# Engines can analyze files and report issues on them, but you can separately | ||
# decide which files will receive ratings based on those issues. This is | ||
# specified by path patterns under the ratings key. | ||
|
||
# For more details see here: | ||
# http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform | ||
|
||
# Note: If the ratings key is not specified, this will result in a 0.0 GPA on your dashboard. | ||
|
||
ratings: | ||
paths: | ||
- lib/** | ||
# - app/** | ||
# - "**.rb" | ||
# - "**.go" | ||
|
||
# You can globally exclude files from being analyzed by any engine using the | ||
# exclude_paths key. | ||
|
||
exclude_paths: | ||
- spec/**/* | ||
- vendor/**/* |
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,4 @@ | ||
*.gem | ||
*.rbc | ||
capybara-*.html | ||
.rspec | ||
|
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,72 @@ | ||
AllCops: | ||
Exclude: | ||
- config/initializers/forbidden_yaml.rb | ||
- !ruby/regexp /(vendor|bundle|bin|db|tmp)\/.*/ | ||
DisplayCopNames: true | ||
DisplayStyleGuide: true | ||
|
||
Lint/AssignmentInCondition: | ||
Enabled: false | ||
|
||
Lint/NestedMethodDefinition: | ||
Enabled: false | ||
Exclude: | ||
- test/action_controller/serialization_test.rb | ||
|
||
Style/FrozenStringLiteralComment: | ||
EnforcedStyle: always | ||
|
||
Style/StringLiterals: | ||
EnforcedStyle: single_quotes | ||
|
||
Metrics/AbcSize: | ||
Max: 35 # TODO: Lower to 15 | ||
|
||
Metrics/ClassLength: | ||
Max: 261 # TODO: Lower to 100 | ||
Exclude: | ||
- test/**/*.rb | ||
|
||
Metrics/CyclomaticComplexity: | ||
Max: 7 # TODO: Lower to 6 | ||
|
||
Metrics/LineLength: | ||
Max: 110 # TODO: Lower to 80 | ||
|
||
Metrics/MethodLength: | ||
Max: 25 | ||
|
||
Metrics/PerceivedComplexity: | ||
Max: 9 # TODO: Lower to 7 | ||
|
||
Style/AlignParameters: | ||
EnforcedStyle: with_fixed_indentation | ||
|
||
Style/ClassAndModuleChildren: | ||
EnforcedStyle: nested | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Style/DoubleNegation: | ||
Enabled: false | ||
|
||
Style/MissingElse: | ||
Enabled: false # TODO: maybe enable this? | ||
EnforcedStyle: case | ||
|
||
Style/EmptyElse: | ||
EnforcedStyle: empty | ||
|
||
Style/MultilineOperationIndentation: | ||
EnforcedStyle: indented | ||
|
||
Style/BlockDelimiters: | ||
Enabled: true | ||
EnforcedStyle: line_count_based | ||
|
||
Style/PredicateName: | ||
Enabled: false # TODO: enable with correct prefixes | ||
|
||
Style/ClassVars: | ||
Enabled: false |
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 @@ | ||
rails_module_unification |
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 @@ | ||
ruby-2.3.1 |
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,18 @@ | ||
language: ruby | ||
bundler_args: --without guard | ||
rvm: | ||
- "2.3.0" | ||
- ruby-head | ||
script: "bundle exec rspec" | ||
addons: | ||
code_climate: | ||
repo_token: '9b1e2d38c6d07358eab4a8a1ad4846df8d7f34bfdb9dc3f885dfc4ca44c16e4c' | ||
branches: | ||
only: master | ||
notifications: | ||
email: false | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- rvm: ruby-head |
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,4 @@ | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in authorizable.gemspec | ||
gemspec |
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,190 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
rails_module_unification (0.5) | ||
activesupport | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (5.0.0) | ||
actionpack (= 5.0.0) | ||
nio4r (~> 1.2) | ||
websocket-driver (~> 0.6.1) | ||
actionmailer (5.0.0) | ||
actionpack (= 5.0.0) | ||
actionview (= 5.0.0) | ||
activejob (= 5.0.0) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 2.0) | ||
actionpack (5.0.0) | ||
actionview (= 5.0.0) | ||
activesupport (= 5.0.0) | ||
rack (~> 2.0) | ||
rack-test (~> 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
actionview (5.0.0) | ||
activesupport (= 5.0.0) | ||
builder (~> 3.1) | ||
erubis (~> 2.7.0) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
activejob (5.0.0) | ||
activesupport (= 5.0.0) | ||
globalid (>= 0.3.6) | ||
activemodel (5.0.0) | ||
activesupport (= 5.0.0) | ||
activerecord (5.0.0) | ||
activemodel (= 5.0.0) | ||
activesupport (= 5.0.0) | ||
arel (~> 7.0) | ||
activesupport (5.0.0) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (~> 0.7) | ||
minitest (~> 5.1) | ||
tzinfo (~> 1.1) | ||
arel (7.0.0) | ||
ast (2.3.0) | ||
awesome_print (1.7.0) | ||
builder (3.2.2) | ||
byebug (9.0.5) | ||
codeclimate-test-reporter (0.6.0) | ||
simplecov (>= 0.7.1, < 1.0.0) | ||
coderay (1.1.1) | ||
concurrent-ruby (1.0.2) | ||
diff-lcs (1.2.5) | ||
docile (1.1.5) | ||
erubis (2.7.0) | ||
factory_girl (4.7.0) | ||
activesupport (>= 3.0.0) | ||
factory_girl_rails (4.7.0) | ||
factory_girl (~> 4.7.0) | ||
railties (>= 3.0.0) | ||
globalid (0.3.6) | ||
activesupport (>= 4.1.0) | ||
i18n (0.7.0) | ||
json (2.0.1) | ||
loofah (2.0.3) | ||
nokogiri (>= 1.5.9) | ||
mail (2.6.4) | ||
mime-types (>= 1.16, < 4) | ||
method_source (0.8.2) | ||
mime-types (3.1) | ||
mime-types-data (~> 3.2015) | ||
mime-types-data (3.2016.0521) | ||
mini_portile2 (2.1.0) | ||
minitest (5.9.0) | ||
nio4r (1.2.1) | ||
nokogiri (1.6.8) | ||
mini_portile2 (~> 2.1.0) | ||
pkg-config (~> 1.1.7) | ||
parser (2.3.1.2) | ||
ast (~> 2.2) | ||
pkg-config (1.1.7) | ||
powerpack (0.1.1) | ||
pry (0.10.3) | ||
coderay (~> 1.1.0) | ||
method_source (~> 0.8.1) | ||
slop (~> 3.4) | ||
pry-byebug (3.4.0) | ||
byebug (~> 9.0) | ||
pry (~> 0.10) | ||
rack (2.0.1) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rails (5.0.0) | ||
actioncable (= 5.0.0) | ||
actionmailer (= 5.0.0) | ||
actionpack (= 5.0.0) | ||
actionview (= 5.0.0) | ||
activejob (= 5.0.0) | ||
activemodel (= 5.0.0) | ||
activerecord (= 5.0.0) | ||
activesupport (= 5.0.0) | ||
bundler (>= 1.3.0, < 2.0) | ||
railties (= 5.0.0) | ||
sprockets-rails (>= 2.0.0) | ||
rails-dom-testing (2.0.1) | ||
activesupport (>= 4.2.0, < 6.0) | ||
nokogiri (~> 1.6.0) | ||
rails-html-sanitizer (1.0.3) | ||
loofah (~> 2.0) | ||
railties (5.0.0) | ||
actionpack (= 5.0.0) | ||
activesupport (= 5.0.0) | ||
method_source | ||
rake (>= 0.8.7) | ||
thor (>= 0.18.1, < 2.0) | ||
rainbow (2.1.0) | ||
rake (11.2.2) | ||
rspec (3.5.0) | ||
rspec-core (~> 3.5.0) | ||
rspec-expectations (~> 3.5.0) | ||
rspec-mocks (~> 3.5.0) | ||
rspec-core (3.5.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-expectations (3.5.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-mocks (3.5.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-rails (3.5.0) | ||
actionpack (>= 3.0) | ||
activesupport (>= 3.0) | ||
railties (>= 3.0) | ||
rspec-core (~> 3.5.0) | ||
rspec-expectations (~> 3.5.0) | ||
rspec-mocks (~> 3.5.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-support (3.5.0) | ||
rubocop (0.41.1) | ||
parser (>= 2.3.1.1, < 3.0) | ||
powerpack (~> 0.1) | ||
rainbow (>= 1.99.1, < 3.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (~> 1.0, >= 1.0.1) | ||
ruby-progressbar (1.8.1) | ||
simplecov (0.12.0) | ||
docile (~> 1.1.0) | ||
json (>= 1.8, < 3) | ||
simplecov-html (~> 0.10.0) | ||
simplecov-html (0.10.0) | ||
slop (3.6.0) | ||
sprockets (3.6.3) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-rails (3.1.1) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
sqlite3 (1.3.11) | ||
thor (0.19.1) | ||
thread_safe (0.3.5) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
unicode-display_width (1.1.0) | ||
websocket-driver (0.6.4) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
awesome_print | ||
bundler | ||
codeclimate-test-reporter | ||
factory_girl | ||
factory_girl_rails | ||
pry-byebug | ||
rails | ||
rails_module_unification! | ||
rspec | ||
rspec-rails | ||
rubocop | ||
sqlite3 | ||
|
||
BUNDLED WITH | ||
1.11.2 |
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 @@ | ||
require 'bundler/gem_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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# frozen_string_literal: true | ||
module RailsModuleUnification | ||
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# frozen_string_literal: true | ||
module RailsModuleUnification | ||
VERSION = '0.5'.freeze | ||
end |
Oops, something went wrong.