football_now 0.1.5 → 0.1.6

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: 45c4a95191bc070b6dfec256441b7e09713d3fb7
4
- data.tar.gz: 7da5a02a26f21ca64620bf7f91e4d1783e51118a
3
+ metadata.gz: 208a866591e60e97f81442edd733da5b0c306937
4
+ data.tar.gz: d0405fe988adb6dd55239988ab2b926834c860f6
5
5
  SHA512:
6
- metadata.gz: 8d9afe6e68b376eb74180aa7b15d7e163baf64734f1e14344abd92584df560a00bd69329987656d4596db910b73f74ecc213e7b45810ea7dcf03e0872c4c5c77
7
- data.tar.gz: feb033ba535dba30c75d387af7b076411259db0aca4897fc39046030c7a70f4fe31075ba7a3cbe911d3cd3195df0f1bd10050c14fb6c4a736c6f519bfa69627b
6
+ metadata.gz: 79998d0fb3c12ce945ea1e86640fb69ad2bb85d0410292128bf7ee8601b8b724763294d85dd4d3516c7f77ed530ed8f04201fb4e05f86213e79e64d09c32afcf
7
+ data.tar.gz: 0ed036408e7d4a2b41e6edeb3716f4ad77039e1608a0f7e6f276fc58fcef1340328b62202d6b3a3b6d8611d93ff9b822f367f3f750343fe3a467e21a3489d5b3
data/README.md CHANGED
@@ -2,14 +2,6 @@
2
2
 
3
3
  Football Now brings you all the information you need from top Football leagues in Europe.
4
4
 
5
- ## Project goals
6
-
7
- - User can get latest scores (including live scores if match is ongoing)
8
- - User can get league standings
9
- - User can get list of results for a specific team
10
- - User can get list of upcoming matches for a specific team
11
-
12
-
13
5
  ## Installation
14
6
 
15
7
  Add this line to your application's Gemfile:
@@ -28,17 +20,37 @@ Or install it yourself as:
28
20
 
29
21
  ## Usage
30
22
 
31
- TODO: Write usage instructions here
23
+ ## Installing PhantomJS
24
+
25
+ You need at least PhantomJS 1.8.1. There are no other external dependencies (you don't need Qt, or a running X server, etc.)
26
+
27
+ ### Mac
28
+
29
+ * Homebrew: `brew install phantomjs`
30
+ * MacPorts: `sudo port install phantomjs`
31
+ * Manual install: [Download this](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip)
32
+
33
+ ### Linux
34
+
35
+ * Download the [32 bit](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-i686.tar.bz2) or [64 bit](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2) binary.
36
+ * Extract the tarball and copy `bin/phantomjs` into your `PATH`
37
+
38
+ ### Windows
39
+
40
+ * Download the [precompiled binary](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip) for Windows
32
41
 
33
- ## Development
42
+ ### Manual compilation
34
43
 
35
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
44
+ Do this as a last resort if the binaries don't work for you. It will take quite a long time as it has to build WebKit.
36
45
 
37
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
46
+ * Download the [source tarball](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-source.zip)
47
+ * Extract and cd in
48
+ * `./build.sh`
49
+ * (See also the [PhantomJS building guide](http://phantomjs.org/build.html).)
38
50
 
39
51
  ## Contributing
40
52
 
41
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/football_now.
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/gnfisher/football_now.
42
54
 
43
55
 
44
56
  ## License
@@ -10,7 +10,11 @@ Capybara.default_driver = :poltergeist
10
10
  Capybara.run_server = false
11
11
  Capybara.default_max_wait_time = 120
12
12
  Capybara.register_driver :poltergeist do |app|
13
- Capybara::Poltergeist::Driver.new(app, js_errors: false, phantomjs_options: ['--load-images=false', '--disk-cache=false'])
13
+ Capybara::Poltergeist::Driver.new(
14
+ app,
15
+ js_errors: false,
16
+ phantomjs_options: ['--load-images=false', '--disk-cache=false']
17
+ )
14
18
  end
15
19
 
16
20
  require 'football_now/version'
data/exe/football_now CHANGED
File without changes
data/football_now.gemspec CHANGED
@@ -35,5 +35,4 @@ Gem::Specification.new do |spec|
35
35
  spec.add_runtime_dependency "require_all"
36
36
  spec.add_runtime_dependency "capybara"
37
37
  spec.add_runtime_dependency "poltergeist"
38
- spec.add_runtime_dependency "phantomjs"
39
38
  end
@@ -1,5 +1,5 @@
1
1
  module FootballNow
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
 
4
4
  # Football Now Config options
5
5
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: football_now
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - gnfisher
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: phantomjs
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
111
  description: Scraping a popular football site, this gem allows you to navigate the
126
112
  standings, results, and stats of the teams in Europe's top competitions.
127
113
  email: