rake_rack 0.1.1 → 0.1.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.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/Gemfile.lock +6 -6
- data/README.md +6 -1
- data/history.rdoc +4 -0
- data/rake_rack.gemspec +1 -1
- data/tasks/code_quality.rake +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cff9f0e8ef039b2792dd81fe620ffab2533343e1
|
4
|
+
data.tar.gz: 8e77b4449bedb1a273b384ecb331c0081374200b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28c973320cda62db99c3b6041863697d1c364d6b946ef9c7e2843c79d3bfd96370e91422cb16cdbff2d29ee4738a79d6787db8f3cad97e49c696a88d75a459dd
|
7
|
+
data.tar.gz: 5fb3807604d6ae0a59df16dfd73aa70209c8bd54a7b39dc0f6f13324e769a077b9aab33d720ab5132240083ae0066579a12da4229fa171cd8f25fa87b542468f
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -4,20 +4,20 @@ GEM
|
|
4
4
|
diff-lcs (1.2.5)
|
5
5
|
docile (1.1.5)
|
6
6
|
multi_json (1.10.1)
|
7
|
-
rake (10.
|
7
|
+
rake (10.3.2)
|
8
8
|
rspec (3.0.0)
|
9
9
|
rspec-core (~> 3.0.0)
|
10
10
|
rspec-expectations (~> 3.0.0)
|
11
11
|
rspec-mocks (~> 3.0.0)
|
12
|
-
rspec-core (3.0.
|
12
|
+
rspec-core (3.0.3)
|
13
13
|
rspec-support (~> 3.0.0)
|
14
|
-
rspec-expectations (3.0.
|
14
|
+
rspec-expectations (3.0.3)
|
15
15
|
diff-lcs (>= 1.2.0, < 2.0)
|
16
16
|
rspec-support (~> 3.0.0)
|
17
|
-
rspec-mocks (3.0.
|
17
|
+
rspec-mocks (3.0.3)
|
18
18
|
rspec-support (~> 3.0.0)
|
19
|
-
rspec-support (3.0.
|
20
|
-
simplecov (0.
|
19
|
+
rspec-support (3.0.3)
|
20
|
+
simplecov (0.9.0)
|
21
21
|
docile (~> 1.1.0)
|
22
22
|
multi_json
|
23
23
|
simplecov-html (~> 0.8.0)
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ RakeRack
|
|
5
5
|
Common rake tasks I use a lot
|
6
6
|
-----------------------------------------
|
7
7
|
|
8
|
-
|
8
|
+
RakeRack is a collection of rake tasks myself and other commanly use on our projects.
|
9
9
|
They have been extracted into a gem to allow them to easily be reused.
|
10
10
|
|
11
11
|
Installation
|
@@ -32,6 +32,9 @@ Check for debugger statements in `[lib, app, spec, features]`.
|
|
32
32
|
Check for binding.pry statements in `[lib, app, spec, features]`.
|
33
33
|
##### :console_log
|
34
34
|
Check for console.log statements in `app/assets/javascripys`.
|
35
|
+
##### :time_check
|
36
|
+
Check for `Time.now` statements in `[lib, app]` (Time.zone.now is more reliable for servers wanting to use UTC).
|
37
|
+
This check is NOT part of :all as `Time.zone.now` is an ActiveSupport method.
|
35
38
|
|
36
39
|
### :coverage
|
37
40
|
#### :check_specs
|
@@ -39,6 +42,8 @@ Look at SimpleCov results for spec coverage in `log/coverage/spec` and fail the
|
|
39
42
|
#### :check_cucumber
|
40
43
|
Look at SimpleCov results for Cucumber coverage in `log/coverage/features` and fail the build if not 100%
|
41
44
|
|
45
|
+
### :ok
|
46
|
+
Run this task last to print `***** ALL TESTS PASSED *****` showing you rake has passed.
|
42
47
|
|
43
48
|
ToDo
|
44
49
|
----
|
data/history.rdoc
CHANGED
data/rake_rack.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "rake_rack"
|
7
|
-
spec.version = '0.1.
|
7
|
+
spec.version = '0.1.2'
|
8
8
|
spec.authors = ["Richard Vickerstaff"]
|
9
9
|
spec.email = ["m3akq@btinternet.com"]
|
10
10
|
spec.description = "A set of rake tasks I commonly use - Formerly known as pool_net"
|
data/tasks/code_quality.rake
CHANGED
@@ -73,7 +73,7 @@ namespace :rake_rack do
|
|
73
73
|
|
74
74
|
def grep regex, file_patterns, error_message, exclude_patterns=[], perl_regex=false
|
75
75
|
files_found = ""
|
76
|
-
command = "grep -r -n --binary-files=without-match '#{regex}' #{file_patterns.join(' ')}"
|
76
|
+
command = "grep -r -n -s --binary-files=without-match '#{regex}' #{file_patterns.join(' ')}"
|
77
77
|
exclude_patterns.each do |exclude_pattern|
|
78
78
|
command << " --exclude '#{exclude_pattern}'"
|
79
79
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Vickerstaff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|