guard-jasmine-rails 1.1.3 → 1.1.4

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: 1e5f586bdca6552757a696381350d3cea6985e6a
4
- data.tar.gz: d56313167417aa81721eb7a2bc8861f85ee85d13
3
+ metadata.gz: 2520cc90b789bee29e1e4d7a13f5d7a7288595b5
4
+ data.tar.gz: 95c69f12927f117affd2efb8daf5e87a940cc8ef
5
5
  SHA512:
6
- metadata.gz: 8cb7301dee557c41cd44e3809596e6466fd06d047cb153d8bbaae798afc5229636d6fb8b4512763be84ea7bf3688200b959e0dfbe327262498c94a371636b923
7
- data.tar.gz: b1c7b9469dc440aed9f20c6ddac9828e9bb7bae73acf3f8f6f8145da882599c3761c853dd570b7538c7f56ed1127c0d3e226977687a1e4749c201cdb8d776f1c
6
+ metadata.gz: a79c3b96390fa15b52a7dd1e7ba9164f8c6bece4fc654cf913a14596daa5bb0ebb73860810ded9539a5782c306e79947de7364ab8f0ed05e17b4e2109f63aee0
7
+ data.tar.gz: c3199ca6d64b46bdb76f45b3313949cccfb85db1a96ae3907aeced8c23753d6f5d3221e50231b0a9fbe249926832d382b455f5df96905f07a86a71a1cd9ae6e9
@@ -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 = "guard-jasmine-rails"
7
- spec.version = "1.1.3"
7
+ spec.version = "1.1.4"
8
8
  spec.authors = ["Ryan Sonnek"]
9
9
  spec.email = ["ryan@codecrate.com"]
10
10
  spec.description = "A Guard for Jasmine Rails."
@@ -40,7 +40,7 @@ module Guard
40
40
  # parse the outermost describe block from a Jasmine spec file
41
41
  # returns nil if no describe block is found
42
42
  def spec_description(path)
43
- File.read(path).scan(/describe\(['"](.+)['"]\,/).flatten.first
43
+ File.read(path).scan(/describe.+?['"]([^'"]+)/).flatten.first
44
44
  end
45
45
 
46
46
  def run(spec_filter = nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-jasmine-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-13 00:00:00.000000000 Z
11
+ date: 2014-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard