bss_style 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 34d0a72d1ec37737dbfc043244910115b8a46f7f9605a39b1ff8151820c56e8b
4
+ data.tar.gz: f443988433b47b022105a84edf4644947019f68126f136a472abb35863faf924
5
+ SHA512:
6
+ metadata.gz: fbbe4f1dd40567084b35553f3f01720c92218b09b76baa2418320dea3b6293a74afd02f784b5aca350b278360dfd601a1291cbfef251b316a84d470ab555b4ae
7
+ data.tar.gz: 481e5fc86e744f44aa572a98b814b45c3049ad3b180892c4099d76e45f93bb3a1dbe8c28b91ac003633d9278c10cc0444ce2b4d8596a938195d801521b360c99
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -0,0 +1 @@
1
+ inherit_from: rubocop/default.yml
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in bss_style.gemspec
8
+ gemspec
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ bss_style (1.0.0)
5
+ rubocop (~> 0.60.0)
6
+ scss_lint (~> 0.57.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.0)
12
+ coderay (1.1.2)
13
+ ffi (1.9.25)
14
+ jaro_winkler (1.5.1)
15
+ method_source (0.9.0)
16
+ parallel (1.12.1)
17
+ parser (2.5.1.2)
18
+ ast (~> 2.4.0)
19
+ powerpack (0.1.2)
20
+ pry (0.11.3)
21
+ coderay (~> 1.1.0)
22
+ method_source (~> 0.9.0)
23
+ rainbow (3.0.0)
24
+ rake (10.5.0)
25
+ rb-fsevent (0.10.3)
26
+ rb-inotify (0.9.10)
27
+ ffi (>= 0.5.0, < 2)
28
+ rubocop (0.60.0)
29
+ jaro_winkler (~> 1.5.1)
30
+ parallel (~> 1.10)
31
+ parser (>= 2.5, != 2.5.1.1)
32
+ powerpack (~> 0.1)
33
+ rainbow (>= 2.2.2, < 4.0)
34
+ ruby-progressbar (~> 1.7)
35
+ unicode-display_width (~> 1.4.0)
36
+ ruby-progressbar (1.10.0)
37
+ sass (3.6.0)
38
+ sass-listen (~> 4.0.0)
39
+ sass-listen (4.0.0)
40
+ rb-fsevent (~> 0.9, >= 0.9.4)
41
+ rb-inotify (~> 0.9, >= 0.9.7)
42
+ scss_lint (0.57.1)
43
+ rake (>= 0.9, < 13)
44
+ sass (~> 3.5, >= 3.5.5)
45
+ unicode-display_width (1.4.0)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ bss_style!
52
+ bundler (~> 1.16)
53
+ pry (~> 0.11.3)
54
+ rake (~> 10.0)
55
+
56
+ BUNDLED WITH
57
+ 1.16.1
@@ -0,0 +1,35 @@
1
+ # BssStyle
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bss_style`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'bss_style'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install bss_style
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bss_style.
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ task default: :spec
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "bss_style"
5
+ require "pry"
6
+
7
+ Pry.start
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'bss_style/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'bss_style'
9
+ spec.version = BssStyle::VERSION
10
+ spec.authors = ['Stephen Dolan']
11
+ spec.email = ['stephen@bigsouthernsoftware.com']
12
+
13
+ spec.summary = "Big Southern Software's style enforcement and project dotfiles"
14
+ spec.homepage = 'https://bigsouthernsoftware.com'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+
20
+ spec.bindir = 'exe'
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ['lib']
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.16'
25
+ spec.add_development_dependency 'pry', '~> 0.11.3'
26
+ spec.add_development_dependency 'rake', '~> 10.0'
27
+
28
+ spec.add_dependency 'rubocop', '~> 0.60.0'
29
+ spec.add_dependency 'scss_lint', '~> 0.57.1'
30
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bss_style/version'
4
+
5
+ # Main module for the gem. This will stay empty.
6
+ module BssStyle
7
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module BssStyle
4
+ VERSION = '1.0.0'
5
+ end
@@ -0,0 +1,6 @@
1
+ ---
2
+
3
+ inherit_from: default.yml
4
+
5
+ Metrics/BlockLength:
6
+ Enabled: false
@@ -0,0 +1,24 @@
1
+ ---
2
+
3
+ inherit_from: default.yml
4
+
5
+ Documentation:
6
+ Enabled: false
7
+
8
+ Metrics/AbcSize:
9
+ Enabled: false
10
+
11
+ Metrics/ClassLength:
12
+ Enabled: false
13
+
14
+ Metrics/BlockLength:
15
+ Enabled: false
16
+
17
+ Metrics/ModuleLength:
18
+ Enabled: false
19
+
20
+ Metrics/MethodLength:
21
+ Enabled: false
22
+
23
+ Style/SymbolProc:
24
+ Enabled: false
@@ -0,0 +1,40 @@
1
+ ---
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.5.1
5
+ Exclude:
6
+ - db/schema.rb
7
+ - db/seeds.rb
8
+ - bin/*
9
+ - config/initializers/**/*
10
+ - config/environments/*
11
+ - config/application.rb
12
+ - db/migrate/*create_active_storage_tables.active_storage.rb
13
+ - node_modules/**/*
14
+ - config/puma.rb
15
+ - spec/rails_helper.rb
16
+ - spec/spec_helper.rb
17
+ - Guardfile
18
+ - vendor/**/*
19
+ - ansible/**/*
20
+
21
+ Metrics/LineLength:
22
+ Max: 125 # Everyone probably has a large enough screen to see this
23
+ MethodLength:
24
+ Max: 20 # Extend this a bit from the default (10)
25
+ Metrics/ClassLength:
26
+ Max: 125 # Extend this a bit for lengthy controllers
27
+ Layout/AlignHash:
28
+ Enabled: false # My style for aligning hash elements is preferred
29
+ Layout/AlignParameters:
30
+ Enabled: false # My style for aligning params is preferred
31
+ Layout/CaseIndentation:
32
+ IndentOneStep: true # Preference
33
+ Layout/MultilineMethodCallIndentation:
34
+ EnforcedStyle: indented # Preference
35
+ Style/ConditionalAssignment:
36
+ EnforcedStyle: assign_inside_condition # Preference
37
+ Style/ClassAndModuleChildren:
38
+ EnforcedStyle: compact # API controllers have lots of namespacing for versions
39
+ Rails:
40
+ Enabled: true # Add some checkers that are Rails-specific
@@ -0,0 +1,6 @@
1
+ ---
2
+
3
+ inherit_from: default.yml
4
+
5
+ Documentation:
6
+ Enabled: false
@@ -0,0 +1,9 @@
1
+ ---
2
+
3
+ inherit_from: default.yml
4
+
5
+ Metrics/BlockLength:
6
+ Enabled: false
7
+
8
+ Rails/SkipsModelValidations:
9
+ Enabled: false
metadata ADDED
@@ -0,0 +1,129 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bss_style
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Stephen Dolan
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-10-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.11.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.11.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.60.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.60.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: scss_lint
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.57.1
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.57.1
83
+ description:
84
+ email:
85
+ - stephen@bigsouthernsoftware.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rubocop.yml"
92
+ - Gemfile
93
+ - Gemfile.lock
94
+ - README.md
95
+ - Rakefile
96
+ - bin/console
97
+ - bin/setup
98
+ - bss_style.gemspec
99
+ - lib/bss_style.rb
100
+ - lib/bss_style/version.rb
101
+ - rubocop/config_files.yml
102
+ - rubocop/db_files.yml
103
+ - rubocop/default.yml
104
+ - rubocop/policy_files.yml
105
+ - rubocop/spec_files.yml
106
+ homepage: https://bigsouthernsoftware.com
107
+ licenses: []
108
+ metadata: {}
109
+ post_install_message:
110
+ rdoc_options: []
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ requirements: []
124
+ rubyforge_project:
125
+ rubygems_version: 2.7.6
126
+ signing_key:
127
+ specification_version: 4
128
+ summary: Big Southern Software's style enforcement and project dotfiles
129
+ test_files: []