rsc 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/rsc.rb +2 -2
  2. metadata +1 -1
data/lib/rsc.rb CHANGED
@@ -2,7 +2,7 @@ require 'open-uri'
2
2
  require 'cgi'
3
3
  require 'rexml/document'
4
4
 
5
- class RScriptClient
5
+ class Rsc
6
6
  include REXML
7
7
 
8
8
  attr_reader :doc, :result, :text
@@ -33,7 +33,7 @@ class RScriptClient
33
33
 
34
34
  def jobs_to_methods(package)
35
35
  #url = "http://rorbuilder.info/r/heroku/%s.rsf" % package
36
- url = "http://%s/view-source/%s" % [@hostname, package]
36
+ url = "http://%s/source/%s" % [@hostname, package]
37
37
  puts 'url : ' + url
38
38
  doc = Document.new(open(url, 'UserAgent' => 'ClientRscript').read)
39
39
  a = XPath.match(doc.root, 'job/attribute::id')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rsc
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson