guard-busted 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
  SHA256:
3
- metadata.gz: 4234c6a0bf70c519746dd6060f5ca1801c965f192e4817e3d95a6bfd06e9c5dd
4
- data.tar.gz: 7dea89565a0f0aca4bb8f0ae10cf76bab974a47e3019103fd1bce0ad0d35abaa
3
+ metadata.gz: efc40f8d7f888ff2ddc23151dc349fabd17766fcfebd45c2a11a494090791e09
4
+ data.tar.gz: 9c8382d3231ade2e55052b8532f9cd7327ce11153a4a71aa51682ac2e1c15329
5
5
  SHA512:
6
- metadata.gz: 0fdaa9e522a9b1dbe6d60ea6d76215ceccdc1c58988c41bcd6a29304b1875b8b1f40a19909a559142728cac374f9fadd60932c44fa2c5419bb48a565517a5f6a
7
- data.tar.gz: 5c4943f8860349b35dbdaeb7a3b3f64be158403185b246139f9c7d856f2cfc080c6c3ac0f85e0b34b689b369730860fa9f88cf5b32f037bcadd43c4a947b4f4d
6
+ metadata.gz: 4494e45c2456e976b52db00dd99ec04c22521d1c55c8ef13b6ad289bff33782c8d69465a1f74e0ae93d1701eb8d8b297346c6a1ba9e19876ba30b152a1f86b8d
7
+ data.tar.gz: 6ea5249644f5e71200416e515bc71241d1d48dc112f2d19b294fb1f4dbef73f64e7eb7993d17c611daaad6a169633c55219a238ecc4325c2f9232a45ab8a1426
data/.travis.yml CHANGED
@@ -7,7 +7,7 @@ script: bundle exec rake spec
7
7
  deploy:
8
8
  provider: rubygems
9
9
  api_key:
10
- secure: H5ZtTBqEMULfn1ffM8YA5EQULQzrUa61fGQ5dqWrNNHFSBdqSHVqVl9HUJ2BjVpM8VNuQ0o2m4iB/MZ1VcFNGjxedXmfrDH5pyhcvAWkmtbL80R9GFmnLIxMpvxR1P/P5YXEzlhoCkwsxt2cWKcLclQ4BCrzSbzzNbW0B5bct344qOywOvFMVScl4q6UyHEwC3Ev9MlKuHo/mIFAo2TLm6VkwsCl6hL4G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IefwO74NaA7D2j31OuzMZUrl1QEZxsYXLsUWOTbrSFW+sMBaL8vtKK6Q2u+jNQ=
11
11
  gem: guard-busted
12
12
  on:
13
13
  tags: true
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.2
4
+
5
+ * Fixed Guardfile
6
+ * Fixed method that checks if busted is installed
7
+
8
+ ## v0.1.1
9
+
10
+ * Fixed typos in README.md
11
+ * Fixed CHANGELOG.md url in the gemspec file
12
+
3
13
  ## v0.1.0
4
14
 
5
15
  * Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- guard-busted (0.1.1)
4
+ guard-busted (0.1.2)
5
5
  guard-compat (~> 1.2)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Guard::Busted
2
2
  [![Build Status](https://travis-ci.com/pjezusek/guard-busted.svg?branch=master)](https://travis-ci.com/pjezusek/guard-busted)
3
+ [![Gem Version](https://badge.fury.io/rb/guard-busted.svg)](https://badge.fury.io/rb/guard-busted)
3
4
 
4
5
  Guard for the unit testing framework named [busted](http://olivinelabs.com/busted/)
5
6
 
@@ -23,10 +24,10 @@ Just type `guard init busted` in the root of your project.
23
24
  This command initializes the Guard file.
24
25
 
25
26
  The provided guard template checks all files with `.lua` extension and starts the corresponding test file.
26
- It searches test files in `spec` directory with pattern `spec/<relative_path_to_file>/<file_name>_spec.lua`.
27
+ It searches test files in `spec` directory with the pattern `spec/<relative_path_to_file>/<file_name>_spec.lua`.
27
28
 
28
- EXAMPLE: you have file in the project `some_dir/some_file.lua`.
29
- After some change the guard-busted gem will try to perform tests located in: `spec/some_dir/some_file_spec.lua`.
29
+ EXAMPLE: lets assume that you have a file in the project `some_dir/some_file.lua`.
30
+ After some change on this file the guard-busted gem will try to perform tests located in: `spec/some_dir/some_file_spec.lua`.
30
31
 
31
32
  WARNING!: Keep in your mind that it treats `src` dir in the special way.
32
33
  It just does not include `src` in the mentioned pattern.
@@ -34,7 +35,7 @@ It just does not include `src` in the mentioned pattern.
34
35
 
35
36
  ## Contributing
36
37
 
37
- Don't hesistate to open an issue or make a pull request.
38
+ Don't hesitate to open an issue or make a pull request.
38
39
 
39
40
  ## License
40
41
 
data/lib/guard/busted.rb CHANGED
@@ -39,7 +39,7 @@ module Guard
39
39
  private
40
40
 
41
41
  def check_if_busted_exist
42
- return if which('busted').nil?
42
+ return unless which('busted').nil?
43
43
 
44
44
  puts 'Busted not found. Use :cmd option or ' \
45
45
  'install `busted` via `luarocks install busted --local`'
@@ -2,6 +2,6 @@
2
2
 
3
3
  guard :busted do
4
4
  watch(%r{^spec/.*\.lua$})
5
- watch(%r{(?!src)^(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" }
6
5
  watch(%r{^src/(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" }
6
+ watch(%r{^(?!src)(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" }
7
7
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Guard
4
4
  module BustedVersion
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-busted
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
  - Piotr Jezusek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-28 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard-compat
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.1.2
158
+ rubygems_version: 3.0.8
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Guard gem for busted