ted_rubocop_rules 0.1.0.pre.alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5a89446897c30ea9a35b516cbd83ff5563a608e2809e91e577e5bb30cc87c849
4
+ data.tar.gz: f01d689919683fb93978fca1a78c4888ff313400dded41c7dc95d7da93d05274
5
+ SHA512:
6
+ metadata.gz: c3797b219f98ca278619c8edecd8412ce037123afe915d815d9e05116463e409ce393edac6b3c21925f365cb0c16e7e2e36c40acc62a23c58720db553d1cd4e7
7
+ data.tar.gz: 7473c858584043fbee8b03374082b408a072c9a35fa5ea0943b4f8985ee6ddf24bad645d41bd8e82f743034fd0d0af7e3baec74e48a3c4151062336a2c27a461
@@ -0,0 +1,8 @@
1
+ /.yardoc
2
+ /_yardoc/
3
+ /coverage/
4
+ /doc/
5
+ /pkg/
6
+ /spec/reports/
7
+ /tmp/
8
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in ted_rubocop_rules.gemspec
6
+ gemspec
@@ -0,0 +1,26 @@
1
+ require "bundler/gem_tasks"
2
+ require "yaml"
3
+
4
+ task :default => :spec
5
+
6
+ task :build do
7
+ this_dir = Pathname.new(File.expand_path('../', __FILE__))
8
+
9
+ source_file = this_dir.join('../linters/rubocop/rubocop.yml')
10
+ target_file = this_dir.join('rubocop.yml')
11
+
12
+ # be sure syntax is valid.
13
+ YAML.load_file source_file
14
+
15
+ # this will be a nuisance if you're doing repeated builds. sorry 'bout that.
16
+ #
17
+ # goal is to prevent people from inadvertently editing gem/rubocop.yml and
18
+ # having those edits wiped out by the build process. (a mistake which they
19
+ # might not notice until much later.)
20
+ if File.exist?(target_file)
21
+ raise "Please remove #{target_file} before building. Make any edits in #{source_file} instead."
22
+ end
23
+
24
+ # go ahead & copy if everything looks ok.
25
+ `cp #{source_file} #{target_file}`
26
+ end
@@ -0,0 +1,3 @@
1
+ module TedRubocopRules
2
+ VERSION = "0.1.0-alpha.2"
3
+ end
@@ -0,0 +1,26 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "ted_rubocop_rules/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ted_rubocop_rules"
8
+ spec.version = TedRubocopRules::VERSION
9
+ spec.authors = ["Alex Dean"]
10
+ spec.email = ["github@mostlyalex.com"]
11
+
12
+ spec.summary = %q{TED rubocop rules as a gem.}
13
+ spec.description = %q{TED rubocop rules as a gem.}
14
+ spec.homepage = "https://github.com/tedconf/code-style-guides/gem"
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_dependency "rubocop", "= 0.86.0"
24
+ spec.add_development_dependency "bundler", "~> 1.17"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ end
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ted_rubocop_rules
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.pre.alpha.2
5
+ platform: ruby
6
+ authors:
7
+ - Alex Dean
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.86.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.86.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.17'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.17'
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
+ description: TED rubocop rules as a gem.
56
+ email:
57
+ - github@mostlyalex.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - Gemfile
64
+ - Rakefile
65
+ - lib/ted_rubocop_rules/version.rb
66
+ - ted_rubocop_rules.gemspec
67
+ homepage: https://github.com/tedconf/code-style-guides/gem
68
+ licenses: []
69
+ metadata: {}
70
+ post_install_message:
71
+ rdoc_options: []
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">"
82
+ - !ruby/object:Gem::Version
83
+ version: 1.3.1
84
+ requirements: []
85
+ rubyforge_project:
86
+ rubygems_version: 2.7.6.2
87
+ signing_key:
88
+ specification_version: 4
89
+ summary: TED rubocop rules as a gem.
90
+ test_files: []