snapdragon 2.0.0 → 3.0.0

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: b8cdfdd0846cd96cc185b3b062fcec610a13c3f6
4
- data.tar.gz: 6ded32f39a330645028d531a770e4c4f621458fe
3
+ metadata.gz: 96d7c3679337877102c7841b3d703425d28a6065
4
+ data.tar.gz: 1e867b30253809913bec2683e5a6dfa2f664ef7f
5
5
  SHA512:
6
- metadata.gz: 82ccdfda0be07b0313dd44892c785ecc7f092e1b4ded6c2928ba5e4b0a367b4cd962cbb534ed34342a07fd9daa0988377f6d6a3c4a92ab4cc1d8f913d4e6edb5
7
- data.tar.gz: 15b8a47d560f1115b3fb5a3a7fef70ef87da0f31183e2000237c30ae35a2b9cf2a690a749baef52d81f27e75cd90d22c636a38dbdb378afeb06b36820b0876cb
6
+ metadata.gz: 879fe6525d3eddd9216928c32eb0926dd6d6b0e9a12614ed2277bdc87d630830d0dc1223660c311940fb09ab90709a78bb63b71996ee11bd6a1556cd25c10fb6
7
+ data.tar.gz: 1cfa3c7aea73d093ce5fbdb1707e2102197d5208fa4e49773f06a2df63f65cc3df1730fa524d2d88bfb9e9766a6907569ce54da5ae31f08ca3a945069935cd9b
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.0
data/ChangeLog.markdown CHANGED
@@ -6,6 +6,10 @@ versions as well as provide a rough history.
6
6
 
7
7
  #### Next Release
8
8
 
9
+ #### v3.0.0
10
+
11
+ * Updated Poltergeist 1.6 and Rspec 3.2 dependencies.
12
+
9
13
  #### v2.0.0
10
14
 
11
15
  * switched to Jasmine 2 instead of Jasmine 1.3.1
data/README.markdown CHANGED
@@ -1,6 +1,6 @@
1
1
  # Snapdragon
2
2
 
3
- **A command-line [Jasmine](http://pivotal.github.io/jasmine/) (JavaScript) test runner built with developer workflow in mind.**
3
+ **A command-line [Jasmine](http://jasmine.github.io) (JavaScript) test runner built with developer workflow in mind.**
4
4
 
5
5
  ## Installation
6
6
 
@@ -52,7 +52,7 @@ follow the steps below to get started.
52
52
  1. Install [Snapdragon](http://github.com/reachlocal/snapdragon) and
53
53
  [PhantomJS](http://phantomjs.org/) as outlined above.
54
54
 
55
- 2. Create a simple [Jasmine](http://pivotal.github.io/jasmine/) spec file
55
+ 2. Create a simple [Jasmine](http://jasmine.github.io) spec file
56
56
  `example/spec/hoopty_spec.js` with the following content. Note: the
57
57
  `// require_relative()` directive at the top of the file. This tells
58
58
  [Snapdragon](http://github.com/reachlocal/snapdragon) what
@@ -98,12 +98,12 @@ follow the steps below to get started.
98
98
  ```
99
99
 
100
100
  Thats it, you now have [Snapdragon](http://github.com/reachlocal/snapdragon)
101
- running a [Jasmine](http://pivotal.github.io/jasmine/) spec.
101
+ running a [Jasmine](http://jasmine.github.io) spec.
102
102
 
103
103
  ## Usage (snapdragon)
104
104
 
105
105
  The *snapdragon* command allows you to run your
106
- [Jasmine](http://pivotal.github.io/jasmine/) specs from the command-line just
106
+ [Jasmine](http://jasmine.github.io) specs from the command-line just
107
107
  as you would with RSpec and other testing tools. The following are some usage
108
108
  examples.
109
109
 
@@ -165,7 +165,7 @@ $ snapdragon --help
165
165
  ## Usage (snapdragon_server)
166
166
 
167
167
  The *snapdragon_server* command allows you to run your
168
- [Jasmine](http://pivotal.github.io/jasmine/) specs in your browser. When this
168
+ [Jasmine](http://jasmine.github.io) specs in your browser. When this
169
169
  command is run it will launch the *snapdragon_server* and open your default
170
170
  browser to the proper URL to run your specified test suite. This is especially
171
171
  useful if you want to debug some JavaScript as your browser most likely has a
@@ -326,11 +326,11 @@ suggestions, talk with developers, or just hang out.
326
326
 
327
327
  ## The Back Story
328
328
 
329
- If you have ever used [Jasmine](http://pivotal.github.io/jasmine/) for your
329
+ If you have ever used [Jasmine](http://jasmine.github.io) for your
330
330
  JavaScript BDD style testing framework I am sure you have run into the
331
331
  following issues just as I have.
332
332
 
333
- 1. Getting up and running with [Jasmine](http://pivotal.github.io/jasmine/) is
333
+ 1. Getting up and running with [Jasmine](http://jasmine.github.io) is
334
334
  quite a pain and the examples of how to setup your SpecRunner.html are
335
335
  sparse.
336
336
  2. Having to manually add the dependency files and spec files to the
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -1,3 +1,3 @@
1
1
  module Snapdragon
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  end
data/snapdragon.gemspec CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "capybara", "~> 2.2"
22
- spec.add_dependency "poltergeist", "~> 1.5"
21
+ spec.add_dependency "capybara", "~> 2.4"
22
+ spec.add_dependency "poltergeist", "~> 1.6"
23
23
  spec.add_dependency "sinatra", "~> 1.4"
24
24
  spec.add_dependency "launchy", "~> 2.4"
25
- spec.add_development_dependency "bundler", "~> 1.5"
26
- spec.add_development_dependency "rake", "~> 10.1"
27
- spec.add_development_dependency "rspec", "~> 2.14"
25
+ spec.add_development_dependency "bundler", "~> 1.7"
26
+ spec.add_development_dependency "rake", "~> 10.4"
27
+ spec.add_development_dependency "rspec", "~> 3.2"
28
28
  end
@@ -87,14 +87,14 @@ describe Snapdragon::Path do
87
87
  context "when the given raw path has a line number" do
88
88
  it "returns true" do
89
89
  path = Snapdragon::Path.new('some/path:234')
90
- expect(path.has_line_number?).to be_true
90
+ expect(path.has_line_number?).to be(true)
91
91
  end
92
92
  end
93
93
 
94
94
  context "when the given raw path does NOT have a line number" do
95
95
  it "returns false" do
96
96
  path = Snapdragon::Path.new('some/path')
97
- expect(path.has_line_number?).to be_false
97
+ expect(path.has_line_number?).to be(false)
98
98
  end
99
99
  end
100
100
  end
@@ -93,7 +93,7 @@ describe Snapdragon::Suite do
93
93
 
94
94
  context "when paths are empty" do
95
95
  it "reads the pattern from the options" do
96
- pattern = double
96
+ pattern = double.to_s
97
97
  options = double(pattern: pattern)
98
98
  suite = Snapdragon::Suite.new(options, [])
99
99
  expect(suite).to receive(:pattern).and_return(pattern)
@@ -113,9 +113,7 @@ describe Snapdragon::Suite do
113
113
  end
114
114
 
115
115
  describe "#require_paths" do
116
- it "returns the merged set of the require paths of each spec file" do
117
- pending
118
- end
116
+ it "returns the merged set of the require paths of each spec file"
119
117
  end
120
118
 
121
119
  describe "#require_files" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snapdragon
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew De Ponte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-28 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.2'
19
+ version: '2.4'
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
- version: '2.2'
26
+ version: '2.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: poltergeist
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.5'
33
+ version: '1.6'
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
- version: '1.5'
40
+ version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sinatra
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +72,42 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.5'
75
+ version: '1.7'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.5'
82
+ version: '1.7'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '10.1'
89
+ version: '10.4'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '10.1'
96
+ version: '10.4'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.14'
103
+ version: '3.2'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.14'
110
+ version: '3.2'
111
111
  description: A Jasmine JavaScript test runner that lets you run tests on the command-line
112
112
  similar to RSpec.
113
113
  email:
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  requirements: []
192
192
  rubyforge_project:
193
- rubygems_version: 2.2.0
193
+ rubygems_version: 2.4.5
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: A command-line Jasmine JavaScript test runner.