swamp 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -2
- data/README.md +3 -1
- data/lib/swamp/base.rb +1 -1
- data/lib/swamp/version.rb +1 -1
- data/spec/highlightSpec.js +5 -5
- metadata +3 -4
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b74abc73fc1e50716d0544ccc88fa28a3c4eef8
|
4
|
+
data.tar.gz: f52d1dffeb08378f4cacb87a3d4731b3b0157130
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63f1d59e2569e80d37ddeb601ad20e83203b0970cff6a4c5fc779a7cc59db3d3722ff96bbb32a8746012a01a1dee390edd4290b00cd26ed4741406eb7737e9e8
|
7
|
+
data.tar.gz: aa163db9d4d8cd36514c0946d9a70fe8c8d1333575b8430f5deaf836cfa42ec218656d7031dac424b34fda3280a7d3699adb1c16952fd3e3efe728d35f8f7c1b
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,9 @@ so you can use the generated methods to quickly create your page objects using [
|
|
7
7
|
|
8
8
|
## How to install
|
9
9
|
|
10
|
-
|
10
|
+
This gem doesn't need to be added to your Gemfile, it's supposed to be installed globally and then you can use it from the command line.
|
11
|
+
|
12
|
+
It requires Ruby 2.0.0 or later and Firefox 24.0 or later. To install, type:
|
11
13
|
|
12
14
|
```bash
|
13
15
|
gem install swamp
|
data/lib/swamp/base.rb
CHANGED
data/lib/swamp/version.rb
CHANGED
data/spec/highlightSpec.js
CHANGED
@@ -2,17 +2,17 @@ describe('Highlight', function (){
|
|
2
2
|
var HIGHLIGHT = require('../lib/swamp/js-modules/highlight.js');
|
3
3
|
var element;
|
4
4
|
|
5
|
-
|
6
|
-
element = { style: {
|
5
|
+
beforeEach(function (){
|
6
|
+
element = { style: {} };
|
7
7
|
spyOn(element, 'style');
|
8
8
|
HIGHLIGHT.glow(element);
|
9
|
+
});
|
10
|
+
|
11
|
+
it('should set the boxShadow property of the element', function (){
|
9
12
|
expect(element.style.boxShadow).toBe('0 0 15px rgba(81, 250, 200, 1)');
|
10
13
|
});
|
11
14
|
|
12
15
|
it('should set the border property of the element', function (){
|
13
|
-
element = { style: { border: '' } };
|
14
|
-
spyOn(element, 'style');
|
15
|
-
HIGHLIGHT.glow(element);
|
16
16
|
expect(element.style.border).toBe('1px solid rgba(81, 250, 200, 1)');
|
17
17
|
});
|
18
18
|
});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swamp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juraci de Lima Vieira Neto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -175,7 +175,6 @@ extra_rdoc_files: []
|
|
175
175
|
files:
|
176
176
|
- ".gitignore"
|
177
177
|
- ".rspec"
|
178
|
-
- ".ruby-version"
|
179
178
|
- ".travis.yml"
|
180
179
|
- Gemfile
|
181
180
|
- Guardfile
|
@@ -283,7 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
283
282
|
version: '0'
|
284
283
|
requirements: []
|
285
284
|
rubyforge_project:
|
286
|
-
rubygems_version: 2.
|
285
|
+
rubygems_version: 2.5.1
|
287
286
|
signing_key:
|
288
287
|
specification_version: 4
|
289
288
|
summary: Swamp, where capybaras belong
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby-2.1.1
|