kapost-bootstrapper 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e5522302446bcfaf58d7002c434604292e18b70
4
- data.tar.gz: 318f1caef8803908f9514eed27233388eee37e03
3
+ metadata.gz: 4e0b4fd05ccaa6ca7895b63404e848a3db68d2d8
4
+ data.tar.gz: ce85c94d469ee43984d26e5e89531d0d40e2914e
5
5
  SHA512:
6
- metadata.gz: c7a11d08ba699dd4d37f61a0f988803ff8ea895df9bcc9313901cc15353ce870610fa493c61a56b509d7593cbcc938b2ffdfd362ce3fb7c515de060a4aa45627
7
- data.tar.gz: 3a1e4d724f84650cf8c680e6484c960bad44b4760aad89c53f34628b210a3a9b3c92f019111bcf794e4515db0b2e071c8bbf8c6b70ed2dcc53d1a1fb3207d0b0
6
+ metadata.gz: b172a824182619305db3d186b4665e7f81fd12d4b3f225d85b3d26cef97a36984b9205d2fe1572398698ce4607d54694e91036d556cf156036b90850c1e9bc15
7
+ data.tar.gz: 9a48cc7a7c985535c60744051ab141597208d541f2b0f0aea9d0d7a423fbb522fab9ba62306c1446aaef1f7677a9b3d7cec99aec3f662e9ef222dff93d5bbb86
data/.codeclimate.yml ADDED
@@ -0,0 +1,18 @@
1
+ ---
2
+ engines:
3
+ rubocop:
4
+ enabled: true
5
+ reek:
6
+ enabled: true
7
+ shellcheck:
8
+ enabled: true
9
+
10
+ ratings:
11
+ paths:
12
+ - lib/**
13
+ - "**/*.rb"
14
+
15
+ exclude_paths:
16
+ - spec/**/*
17
+ - "**/vendor/**/*"
18
+
data/.rubocop.yml ADDED
@@ -0,0 +1,56 @@
1
+
2
+ AllCops:
3
+ DisplayCopNames: true
4
+ DisplayStyleGuide: true
5
+
6
+ Include:
7
+ - "**/Rakefile"
8
+ - "**/config.ru"
9
+ Exclude:
10
+ - "vendor/**/*"
11
+ - "spec/fixtures/**/*"
12
+ - "bin/**/*"
13
+ - "script/**/*"
14
+ Metrics/LineLength:
15
+ Max: 120
16
+ Rails/Date:
17
+ Enabled: false
18
+ Rails/TimeZone:
19
+ Enabled: false
20
+ AllCops:
21
+ TargetRubyVersion: 2.3
22
+ Style/AndOr:
23
+ EnforcedStyle: conditionals
24
+ Style/CaseIndentation:
25
+ IndentOneStep: true
26
+ Style/Documentation:
27
+ Enabled: false
28
+ Style/EachWithObject:
29
+ Enabled: false
30
+ Style/ExtraSpacing:
31
+ Exclude:
32
+ - "config/routes.rb"
33
+ Style/HashSyntax:
34
+ Exclude:
35
+ - "lib/tasks/**/*"
36
+ Style/MultilineOperationIndentation:
37
+ EnforcedStyle: indented
38
+ Style/NumericLiterals:
39
+ Enabled: false
40
+ Style/PercentLiteralDelimiters:
41
+ PreferredDelimiters:
42
+ "%w": "[]"
43
+ "%W": "[]"
44
+ "%i": "[]"
45
+ "%I": "[]"
46
+ "%r": "()"
47
+ Style/SignalException:
48
+ EnforcedStyle: semantic
49
+ Style/SingleLineBlockParams:
50
+ Enabled: false
51
+ Style/StringLiterals:
52
+ EnforcedStyle: double_quotes
53
+ Style/MultilineMethodCallIndentation:
54
+ Exclude:
55
+ - "spec/**/*.rb"
56
+
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.3.1
data/Gemfile CHANGED
@@ -6,4 +6,6 @@ gemspec
6
6
  group :development, :test do
7
7
  gem "guard"
8
8
  gem "guard-rspec"
9
+
10
+ gem "codeclimate-test-reporter", require: nil
9
11
  end
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Kapost::Bootstrapper
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/kapost-bootstrapper.svg)](https://badge.fury.io/rb/kapost-bootstrapper)[![CircleCI](https://circleci.com/gh/kapost/kapost-bootstrapper.svg?style=svg)](https://circleci.com/gh/kapost/kapost-bootstrapper)[![Code Climate](https://codeclimate.com/repos/57572a32ba1caf007e0006eb/badges/5709b4889adbab6624da/gpa.svg)](https://codeclimate.com/repos/57572a32ba1caf007e0006eb/feed)[![Test Coverage](https://codeclimate.com/repos/57572a32ba1caf007e0006eb/badges/5709b4889adbab6624da/coverage.svg)](https://codeclimate.com/repos/57572a32ba1caf007e0006eb/coverage)
4
+
3
5
  Used by Kapost apps to get themselves bootstrapped. To enhance developer happiness, every app should have a single command to get it set up (`./bin/setup`) and one command to run the whole thing (`./bin/run`). This gem attempts to help with the first script by encapsulating a useful set of helper functions that makes detecting and installing dependencies simpler.
4
6
 
5
7
  ## Installation
data/circle.yml ADDED
@@ -0,0 +1,3 @@
1
+ dependencies:
2
+ pre:
3
+ - gem install bundler
@@ -1,5 +1,5 @@
1
1
  module Kapost
2
2
  class Bootstrapper
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -29,6 +29,7 @@ module Kapost
29
29
  say(help) if help
30
30
  shell.exit 1
31
31
  end
32
+ success
32
33
  end
33
34
 
34
35
  def check_bundler
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapost-bootstrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Sadauskas
@@ -59,8 +59,11 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".codeclimate.yml"
62
63
  - ".gitignore"
63
64
  - ".rspec"
65
+ - ".rubocop.yml"
66
+ - ".ruby-version"
64
67
  - ".travis.yml"
65
68
  - Gemfile
66
69
  - Guardfile
@@ -68,6 +71,7 @@ files:
68
71
  - Rakefile
69
72
  - bin/console
70
73
  - bin/setup
74
+ - circle.yml
71
75
  - kapost-bootstrapper.gemspec
72
76
  - lib/kapost/bootstrapper.rb
73
77
  - lib/kapost/bootstrapper/version.rb