pronto 0.5.2 → 0.5.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 195c3906036b06ef0b74e616670e720383e55b04
4
- data.tar.gz: 0029eaab3605b1ef44a70b27bab5b3bfbc88f237
3
+ metadata.gz: 7f045d7e7257a5032c6d66fe14aafc3b601a2c46
4
+ data.tar.gz: f4c937f5b374da8ea1cac828bd7e85ac3923fb53
5
5
  SHA512:
6
- metadata.gz: 31ed61645876409ba9ddcb7baf707b4c645f5c81636b791b23a4c1b3584a907ca8f83737ac85345e0c893bd0c61879b91746d53fe0faa6ea882b0e551863ae4e
7
- data.tar.gz: 75c37c34cc8871a7f9dcd769c711a0ce791922a904855f8a1ef204e0e0753f1822986020c5c3e4c17c143f14fc540f2468ac4352a7724092f65f8afa74e0dbb1
6
+ metadata.gz: 77ae86e2fdfa6c85dabedfee311ac604104d8bfec7194d375b6c6d92306178aaa7bd0c5a4bdf46fd5e8c41b1a53153bc5c0abdfa7c0fec323e4fd533557fca59
7
+ data.tar.gz: 849e03f87e173b568dcd716d4701118a3c7461cae70c815de411b10859a6a31adf98658b74c2e713520d8304a231cd00ce505e6cf23f06de6bc1eb3e9d9f6763
data/CHANGELOG.md CHANGED
@@ -6,11 +6,17 @@
6
6
  ### Changes
7
7
  ### Bugs fixed
8
8
 
9
+ ## 0.5.3
10
+
11
+ ### Bugs fixed
12
+
13
+ * Remove pronto.gif from gem, accidently included since `0.5.0`.
14
+
9
15
  ## 0.5.2
10
16
 
11
17
  ### Bugs fixed
12
18
 
13
- * GithubPullRequestFormatter was working incorrectly when `PULL_REQUEST_ID` is not specified. Introduced in `0.5.1`
19
+ * GithubPullRequestFormatter was working incorrectly when `PULL_REQUEST_ID` is not specified. Introduced in `0.5.1`.
14
20
 
15
21
  ## 0.5.1
16
22
 
data/README.md CHANGED
@@ -6,19 +6,46 @@
6
6
  [![Dependency Status](https://gemnasium.com/mmozuras/pronto.png)](https://gemnasium.com/mmozuras/pronto)
7
7
  [![Inline docs](http://inch-ci.org/github/mmozuras/pronto.png)](http://inch-ci.org/github/mmozuras/pronto)
8
8
 
9
- Pronto runs analysis quickly by checking only the relevant changes. Created to
9
+ **Pronto** runs analysis quickly by checking only the relevant changes. Created to
10
10
  be used on [pull requests](#github-integration), but also works [locally](#local-changes) and integrates with [GitLab](#gitlab-integration).
11
11
  Perfect if want to find out quickly if branch introduces changes that conform
12
12
  to your [styleguide](https://github.com/mmozuras/pronto-rubocop), [are DRY](https://github.com/mmozuras/pronto-flay), [don't introduce security holes](https://github.com/mmozuras/pronto-brakeman) and [more](#runners).
13
13
 
14
14
  ![Pronto demo](pronto.gif "")
15
15
 
16
+ * [Installation](#installation)
16
17
  * [Usage](#usage)
17
18
  * [Local Changes](#local-changes)
18
19
  * [GitHub Integration](#github-integration)
19
20
  * [GitLab Integration](#gitlab-integration)
20
21
  * [Configuration](#configuration)
21
22
  * [Runners](#runners)
23
+ * [Changelog](#changelog)
24
+ * [Copyright](#copyright)
25
+
26
+ ## Installation
27
+
28
+ **Pronto**'s installation is standard for a Ruby gem:
29
+
30
+ ```sh
31
+ $ gem install pronto
32
+ ```
33
+
34
+ You'll also want to install some [runners](#runners) to go along with the main gem:
35
+
36
+ ```sh
37
+ $ gem install pronto-rubocop
38
+ $ gem install pronto-flay
39
+ ```
40
+
41
+ If you'd rather install Pronto using `bundler`, you don't need to require it,
42
+ unless you're gonna run it from Ruby (via Rake task, for example):
43
+
44
+ ```ruby
45
+ gem 'pronto'
46
+ gem 'pronto-rubocop', require: false
47
+ gem 'pronto-flay', require: false
48
+ ```
22
49
 
23
50
  ## Usage
24
51
 
@@ -26,13 +53,9 @@ Pronto runs the checks on a diff between the current HEAD and the provided commi
26
53
 
27
54
  ### Local Changes
28
55
 
29
- You can run Pronto locally. First, install Pronto and the runners you want to use:
30
- ```bash
31
- gem install pronto
32
- gem install pronto-rubocop
33
- ```
34
- Then navigate to the repository you want to run Pronto on, and:
35
- ```bash
56
+ Navigate to the repository you want to run Pronto on, and:
57
+
58
+ ```sh
36
59
  git checkout feature/branch
37
60
 
38
61
  # Analyze diff of committed changes on current branch and master:
@@ -63,30 +86,24 @@ You can run Pronto as a step of your CI builds and get the results as comments
63
86
  on GitHub commits using `GithubFormatter` or `GithubPullRequestFormatter`.
64
87
 
65
88
  Add Pronto runners you want to use to your Gemfile:
66
- ```ruby
67
- gem 'pronto'
68
- gem 'pronto-rubocop', require: false
69
- gem 'pronto-scss', require: false
70
- ```
71
- or gemspec file:
72
- ```ruby
73
- s.add_development_dependency 'pronto'
74
- s.add_development_dependency 'pronto-rubocop'
75
- s.add_development_dependency 'pronto-scss'
76
- ```
89
+
77
90
  Set the GITHUB_ACCESS_TOKEN environment variable or value in `.pronto.yml` to
78
91
  [OAuth token](https://help.github.com/articles/creating-an-access-token-for-command-line-use) that has access to the repository.
79
92
 
80
93
  Then just run it:
81
- ```bash
82
- GITHUB_ACCESS_TOKEN=token pronto run -f github -c origin/master
94
+
95
+ ```sh
96
+ $ GITHUB_ACCESS_TOKEN=token pronto run -f github -c origin/master
83
97
  ```
98
+
84
99
  or, if you want comments to appear on pull request diff, instead of commit:
85
- ```bash
86
- GITHUB_ACCESS_TOKEN=token PULL_REQUEST_ID=id pronto run -f github_pr -c origin/master
100
+
101
+ ```sh
102
+ $ GITHUB_ACCESS_TOKEN=token PULL_REQUEST_ID=id pronto run -f github_pr -c origin/master
87
103
  ```
88
104
 
89
105
  As an alternative, you can also set up a rake task:
106
+
90
107
  ```ruby
91
108
  Pronto.gem_names.each { |gem_name| require "pronto/#{gem_name}" }
92
109
 
@@ -101,19 +118,6 @@ on GitLab commits using `GitlabFormatter`.
101
118
 
102
119
  **note: this requires at least GitLab v7.5.0**
103
120
 
104
- Add Pronto runners you want to use to your Gemfile:
105
- ```ruby
106
- gem 'pronto'
107
- gem 'pronto-rubocop', require: false
108
- gem 'pronto-scss', require: false
109
- ```
110
- or gemspec file:
111
- ```ruby
112
- s.add_development_dependency 'pronto'
113
- s.add_development_dependency 'pronto-rubocop'
114
- s.add_development_dependency 'pronto-scss'
115
- ```
116
-
117
121
  Set the `GITLAB_API_ENDPOINT` environment variable or value in `.pronto.yml` to
118
122
  your API endpoint URL. If you are using Gitlab.com's hosted service your
119
123
  endpoint will be `https://gitlab.com/api/v3`.
@@ -121,11 +125,13 @@ Set the `GITLAB_API_PRIVATE_TOKEN` environment variable or value in `.pronto.yml
121
125
  to your Gitlab private token which you can find in your account settings.
122
126
 
123
127
  Then just run it:
124
- ```bash
125
- GITLAB_API_ENDPOINT="https://gitlab.com/api/v3" GITLAB_API_PRIVATE_TOKEN=token pronto run -f gitlab -c origin/master
128
+
129
+ ```sh
130
+ $ GITLAB_API_ENDPOINT="https://gitlab.com/api/v3" GITLAB_API_PRIVATE_TOKEN=token pronto run -f gitlab -c origin/master
126
131
  ```
127
132
 
128
133
  As an alternative, you can also set up a rake task:
134
+
129
135
  ```ruby
130
136
  Pronto.gem_names.each { |gem_name| require "pronto/#{gem_name}" }
131
137
 
@@ -178,3 +184,11 @@ Currently available:
178
184
  * [pronto-rubocop](https://github.com/mmozuras/pronto-rubocop)
179
185
  * [pronto-scss](https://github.com/mmozuras/pronto-scss)
180
186
  * [pronto-spell](https://github.com/mmozuras/pronto-spell)
187
+
188
+ ## Changelog
189
+
190
+ **Pronto**'s changelog is available [here](CHANGELOG.md).
191
+
192
+ ## Copyright
193
+
194
+ Copyright (c) 2013-2015 Mindaugas Mozūras. See [LICENSE](LICENSE) for further details.
@@ -1,3 +1,3 @@
1
1
  module Pronto
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
data/pronto.gemspec CHANGED
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
  spec/.*
29
29
  |Gemfile
30
30
  |Rakefile
31
+ |pronto.gif
31
32
  |\.rspec
32
33
  |\.gitignore
33
34
  |\.rubocop.yml
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-10 00:00:00.000000000 Z
11
+ date: 2015-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged
@@ -193,7 +193,6 @@ files:
193
193
  - lib/pronto/runners.rb
194
194
  - lib/pronto/version.rb
195
195
  - pronto.gemspec
196
- - pronto.gif
197
196
  homepage: http://github.com/mmozuras/pronto
198
197
  licenses:
199
198
  - MIT
data/pronto.gif DELETED
Binary file