yslow 0.0.1 → 0.0.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: 3d825d3680514ce9cac57e61371055c5b460c619
4
- data.tar.gz: 050d0a935585411180454ed22ec28f0efc73d7eb
3
+ metadata.gz: 4022074f56ab951f806f93a1ab04bb45779e1bc5
4
+ data.tar.gz: 91be9c5acb432043fa5e81b062f68c1d29e67acd
5
5
  SHA512:
6
- metadata.gz: 50afaf6ae2ddd70d0fc53bfb172713088885a473baf5d928032b43af14ddda6673fff166c00339ae58c1f213e474413284012d88881823b433f502f5e66b3e9a
7
- data.tar.gz: 8fb566d3de841adc0c6854669d76dac4f74721cf8813b92715f28c0c470d07a598c1c4653e281f06a97d5a0fb8ea7c7e9e8d657b3276a66a2eee91c4d5560776
6
+ metadata.gz: 6bdf863b65b8d7905505a5d9fb650ce1646c8a1bd2cba5ec2aa0195e219e7b45dc521a997eea69c2edb6a68442b7c9c5bb9d956fdf3700a05fb3eec37c3894f1
7
+ data.tar.gz: de715503ffce9d8191538facf806e31defd0409b7f11d2d116c217cafe7443ca9855ae140de7f940b80d84b695c9e53d63478baa2fdb8b60cc95e57c00fe66ae
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  script: bundle exec rake test
3
+ sudo: false
3
4
  rvm:
4
5
  - 1.9.2
5
6
  - 1.9.3
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yslow (0.0.1)
5
- phantomjs (~> 1.9.7.0)
4
+ yslow (0.0.2)
5
+ phantomjs (~> 1.9)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -16,7 +16,7 @@ GEM
16
16
  builder
17
17
  minitest (>= 2.12, < 5.0)
18
18
  powerbar
19
- phantomjs (1.9.7.0)
19
+ phantomjs (1.9.8.0)
20
20
  powerbar (1.0.11)
21
21
  ansi (~> 1.4.0)
22
22
  hashie (>= 1.1.0)
@@ -30,3 +30,6 @@ DEPENDENCIES
30
30
  minitest-reporters (~> 0.14.24)
31
31
  rake
32
32
  yslow!
33
+
34
+ BUNDLED WITH
35
+ 1.10.6
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
- YSlow.rb
2
- ========
1
+ YSlow on Ruby
2
+ =============
3
+
4
+ [![Build Status](https://travis-ci.org/jmervine/ruby-yslow.svg?branch=v0.0.1)](https://travis-ci.org/jmervine/ruby-yslow) &nbsp; ![Gem Version](https://badge.fury.io/rb/yslow.png)
3
5
 
4
6
  Ruby wrapper for [YSlow](http://yslow.org/phantomjs/) via [PhantomJS](http://phantomjs.org/).
5
7
 
@@ -16,10 +16,12 @@ module YSlow
16
16
  end
17
17
 
18
18
  def self.run url, command=[]
19
- command.push("--format")
20
- command.push("json")
21
19
  command.push(url)
22
20
 
21
+ # Unshift the json format option. This is so the gem user can override it if they need XML.
22
+ command.unshift("json")
23
+ command.unshift("--format")
24
+
23
25
  command.unshift(self.path)
24
26
  command.unshift(self.phantomjs)
25
27
 
@@ -1,3 +1,3 @@
1
1
  module YSlow
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.authors = ["Joshua P. Mervine"]
15
15
 
16
16
  gem.add_dependency "json" if RUBY_VERSION.start_with? "1.8"
17
- gem.add_dependency "phantomjs", "~> 1.9.7.0"
17
+ gem.add_dependency "phantomjs", "~> 1.9"
18
18
 
19
19
  gem.add_development_dependency "rake"
20
20
  gem.add_development_dependency "minitest", "~> 4.7.5"
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yslow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua P. Mervine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-23 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phantomjs
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.9.7.0
19
+ version: '1.9'
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: 1.9.7.0
26
+ version: '1.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 4.7.5
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 4.7.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest-reporters
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.14.24
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.14.24
69
69
  description: A Ruby wrapper for YSlow via PhantomJS
@@ -72,8 +72,8 @@ executables: []
72
72
  extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
- - .gitignore
76
- - .travis.yml
75
+ - ".gitignore"
76
+ - ".travis.yml"
77
77
  - Gemfile
78
78
  - Gemfile.lock
79
79
  - LICENCE
@@ -101,17 +101,17 @@ require_paths:
101
101
  - lib
102
102
  required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - '>='
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.0.14
114
+ rubygems_version: 2.2.2
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: A Ruby wrapper for YSlow via PhantomJS