maximus 0.1.5 → 0.1.5.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: b23428dccc821b0c760a0e9e700dae8a98590824
4
- data.tar.gz: 584a217684704ba5e28be0362805de0dff016d4a
3
+ metadata.gz: 8c7fee2775fc5f24bcb70edfe70ade2c8f0e68a9
4
+ data.tar.gz: 565a9109eda74ce453e8d1c768cd369b7c75f054
5
5
  SHA512:
6
- metadata.gz: 8d6782b673a666075f0e8fef4dbbe885a25f5eba717522a6adf3eeb0e89089abaac67a1bea31c6b07a25e6bb8fa188f02ca1b23ad97f301be7e5b3242bdbeaed
7
- data.tar.gz: 7b8fe7dfbf4401ba3c12ce4249d790e1b9c6e59c18688c1c75fda55cc998ad3ad1964f6e2ea6e4aa9bb2c9f3a1c431cb9f4f05ead59c5a50884c5258cbf66f8e
6
+ metadata.gz: 2cd898e33840532940ea3cef058f2d75d6b01516d9386efc7626c78c786f1b9902ad8862b7775e9598e6e8699d817dc298dda467e067a3491ca18e317f96bc5d
7
+ data.tar.gz: 0c1f8c5a14e03c0b682e1fb3b7127afa3c0e7862693178479ba421d81e667ca3c756efb24c344e5efba40923632b34f7d9c6d0d9e2258e5057e05dfda8a16882
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Maximus
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/maximus.svg)](http://badge.fury.io/rb/maximus) [![Code Climate](https://codeclimate.com/github/wearefine/maximus/badges/gpa.svg)](https://codeclimate.com/github/wearefine/maximus) [![Build Status](https://travis-ci.org/wearefine/maximus.svg)](https://travis-ci.org/wearefine/maximus) [![Inline docs](http://inch-ci.org/github/wearefine/maximus.svg?branch=master&style=flat)](http://inch-ci.org/github/wearefine/maximus)
3
+ [![Gem Version](https://badge.fury.io/rb/maximus.svg)](http://badge.fury.io/rb/maximus) [![Code Climate](https://codeclimate.com/github/wearefine/maximus/badges/gpa.svg)](https://codeclimate.com/github/wearefine/maximus) [![Build Status](https://travis-ci.org/wearefine/maximus.svg)](https://travis-ci.org/wearefine/maximus) [![Coverage Status](https://coveralls.io/repos/wearefine/maximus/badge.svg)](https://coveralls.io/r/wearefine/maximus) [![Inline docs](http://inch-ci.org/github/wearefine/maximus.svg?branch=master&style=flat)](http://inch-ci.org/github/wearefine/maximus)
4
4
 
5
5
  The all-in-one linting solution.
6
6
 
@@ -141,6 +141,12 @@ If calling Maximus::Wraith from a script, please see the note in lib/statistics/
141
141
 
142
142
  ## Changelog
143
143
 
144
+ ### 0.1.5.1 (February 2, 2015)
145
+
146
+ Bugfixes:
147
+
148
+ * Active Support requirement was too strict
149
+
144
150
  ### 0.1.5 (February 1, 2015)
145
151
 
146
152
  Bugfixes:
@@ -66,7 +66,7 @@ module Maximus
66
66
  # @param sha1 [String]
67
67
  # @param sha2 [String]
68
68
  # @return [Hash] diff_return files changed grouped by file extension and line number
69
- def compare(sha1 = master_commit.sha, sha2 = head_sha)
69
+ def compare(sha1 = master_commit_sha, sha2 = head_sha)
70
70
  diff_return = {}
71
71
 
72
72
  sha1 = set_psuedo_commit if @settings[:commit]
@@ -229,7 +229,7 @@ module Maximus
229
229
  # @return [String] commit sha
230
230
  def set_psuedo_commit
231
231
  case @settings[:commit]
232
- when 'master' then master_commit.sha
232
+ when 'master' then master_commit_sha
233
233
  when 'last' then previous_commit(head_sha)
234
234
  when 'working' then 'working'
235
235
  else @settings[:commit]
@@ -307,10 +307,10 @@ module Maximus
307
307
  `env -i git rev-parse --abbrev-ref HEAD`.strip!
308
308
  end
309
309
 
310
- # Get last commit on the master branch
311
- # @return [Git::Object]
312
- def master_commit
313
- @g.branches[:master].gcommit
310
+ # Get last commit sha on the master branch
311
+ # @return [String]
312
+ def master_commit_sha
313
+ @g.branches[:master].gcommit.sha
314
314
  end
315
315
 
316
316
  # Get general stats of commit on HEAD versus last commit on master branch
@@ -1,3 +1,3 @@
1
1
  module Maximus
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.5.1"
3
3
  end
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency "rails_best_practices", "~> 1.15"
26
26
  spec.add_runtime_dependency "brakeman", "~> 3.0.1"
27
27
  spec.add_runtime_dependency "wraith", "~> 2.3"
28
- spec.add_runtime_dependency "activesupport", "~> 4.2.0"
29
- spec.add_runtime_dependency "thor", "~> 0.19.1"
28
+ spec.add_runtime_dependency "activesupport"
29
+ spec.add_runtime_dependency "thor"
30
30
 
31
31
  spec.add_development_dependency "bundler", "~> 1.6"
32
32
  spec.add_development_dependency "yard", "~> 0.8"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maximus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Shedor
@@ -14,28 +14,28 @@ dependencies:
14
14
  name: git
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.2.9
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.2.9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: scss-lint
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.33.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.33.0
41
41
  - !ruby/object:Gem::Dependency
@@ -56,140 +56,140 @@ dependencies:
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.28'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.28'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rails_best_practices
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.15'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.15'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: brakeman
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: 3.0.1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: 3.0.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: wraith
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: '2.3'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2.3'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: activesupport
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
- version: 4.2.0
117
+ version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - '>='
123
123
  - !ruby/object:Gem::Version
124
- version: 4.2.0
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: thor
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - '>='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.19.1
131
+ version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - '>='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.19.1
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bundler
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ~>
144
144
  - !ruby/object:Gem::Version
145
145
  version: '1.6'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ~>
151
151
  - !ruby/object:Gem::Version
152
152
  version: '1.6'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: yard
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ~>
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0.8'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - ~>
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0.8'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rspec
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - "~>"
171
+ - - ~>
172
172
  - !ruby/object:Gem::Version
173
173
  version: '3.0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - "~>"
178
+ - - ~>
179
179
  - !ruby/object:Gem::Version
180
180
  version: '3.0'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: coveralls
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - "~>"
185
+ - - ~>
186
186
  - !ruby/object:Gem::Version
187
187
  version: 0.7.8
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - "~>"
192
+ - - ~>
193
193
  - !ruby/object:Gem::Version
194
194
  version: 0.7.8
195
195
  description: The all-in-one linting solution
@@ -200,9 +200,9 @@ executables:
200
200
  extensions: []
201
201
  extra_rdoc_files: []
202
202
  files:
203
- - ".gitignore"
204
- - ".rspec"
205
- - ".travis.yml"
203
+ - .gitignore
204
+ - .rspec
205
+ - .travis.yml
206
206
  - Gemfile
207
207
  - LICENSE.txt
208
208
  - README.md
@@ -250,17 +250,17 @@ require_paths:
250
250
  - lib
251
251
  required_ruby_version: !ruby/object:Gem::Requirement
252
252
  requirements:
253
- - - ">="
253
+ - - '>='
254
254
  - !ruby/object:Gem::Version
255
255
  version: '0'
256
256
  required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  requirements:
258
- - - ">="
258
+ - - '>='
259
259
  - !ruby/object:Gem::Version
260
260
  version: '0'
261
261
  requirements: []
262
262
  rubyforge_project:
263
- rubygems_version: 2.4.2
263
+ rubygems_version: 2.0.14
264
264
  signing_key:
265
265
  specification_version: 4
266
266
  summary: Make your code spic and <span>