rake_rack 0.1.1 → 0.1.2

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: 09ded151aec45fa3d6eca1511d9e949b600d4879
4
- data.tar.gz: b186a7ce26b72d0d9e15485686631722f9f57d01
3
+ metadata.gz: cff9f0e8ef039b2792dd81fe620ffab2533343e1
4
+ data.tar.gz: 8e77b4449bedb1a273b384ecb331c0081374200b
5
5
  SHA512:
6
- metadata.gz: 627e0cef320cef926cfe5de463f5d507f3dcf73513625bd5281d30cc9f4d2507beb1b293b256a1e66baca8064a8fb98dacfa1c9afb1f61e5969ce3f8e4cdf620
7
- data.tar.gz: 6fb0bbb5f743a35c4a7e5dbb1ff6b83a9c76990a82cea68146b0f6d5b9e5eda92c6fce08ff70491dab81ee271d404df16201b632db5b9b686c775eeba768f562
6
+ metadata.gz: 28c973320cda62db99c3b6041863697d1c364d6b946ef9c7e2843c79d3bfd96370e91422cb16cdbff2d29ee4738a79d6787db8f3cad97e49c696a88d75a459dd
7
+ data.tar.gz: 5fb3807604d6ae0a59df16dfd73aa70209c8bd54a7b39dc0f6f13324e769a077b9aab33d720ab5132240083ae0066579a12da4229fa171cd8f25fa87b542468f
data/.travis.yml CHANGED
@@ -4,7 +4,7 @@ rvm:
4
4
  - 2.0.0
5
5
  - 1.9.3
6
6
  - ruby-head
7
- - jruby-head
7
+ - jruby-1.7.12
8
8
  deploy:
9
9
  provider: rubygems
10
10
  api_key:
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.1.0)
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.2)
12
+ rspec-core (3.0.3)
13
13
  rspec-support (~> 3.0.0)
14
- rspec-expectations (3.0.2)
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.2)
17
+ rspec-mocks (3.0.3)
18
18
  rspec-support (~> 3.0.0)
19
- rspec-support (3.0.2)
20
- simplecov (0.8.2)
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
- PoolNet is a collection of rake tasks myself and other commanly use on our projects.
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
@@ -1,3 +1,7 @@
1
+ == 0.1.2 (20 August 2014)
2
+
3
+ * Suppress grep errors if no folder
4
+
1
5
  == 0.1.1 (24 July 2014)
2
6
 
3
7
  == 0.1.0 (18 July 2014)
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.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"
@@ -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.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-07-24 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake