downrightnow 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,12 +9,6 @@ require 'open-uri'
9
9
  require 'time'
10
10
 
11
11
  module DownRightNow
12
- VERSION = '0.2.1'
13
-
14
- def DownRightNow.version
15
- VERSION
16
- end
17
-
18
12
  class DownRightNow
19
13
  # The original document received and parsed.
20
14
  attr_reader :doc
@@ -1,4 +1,5 @@
1
1
  require 'downrightnow'
2
+ require 'downrightnow/version'
2
3
  require 'trollop'
3
4
 
4
5
  module DownRightNow
@@ -0,0 +1,7 @@
1
+ module DownRightNow
2
+ VERSION = '0.2.2'
3
+
4
+ def self.version
5
+ VERSION
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: downrightnow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70200474014860 !ruby/object:Gem::Requirement
16
+ requirement: &70174758654360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.4.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70200474014860
24
+ version_requirements: *70174758654360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: trollop
27
- requirement: &70200474013160 !ruby/object:Gem::Requirement
27
+ requirement: &70174758653420 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '1.16'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70200474013160
35
+ version_requirements: *70174758653420
36
36
  description: See http://downrightnow.com
37
37
  email: barry@barryallard.name
38
38
  executables:
@@ -40,15 +40,10 @@ executables:
40
40
  extensions: []
41
41
  extra_rdoc_files: []
42
42
  files:
43
- - .gitignore
44
- - Gemfile
45
- - Gemfile.lock
46
- - LICENSE
47
- - README.md
48
- - bin/downrightnow
49
- - downrightnow.gemspec
50
- - lib/downrightnow.rb
51
43
  - lib/downrightnow/util/command_line.rb
44
+ - lib/downrightnow/version.rb
45
+ - lib/downrightnow.rb
46
+ - bin/downrightnow
52
47
  homepage: https://github.com/steakknife/downrightnow
53
48
  licenses: []
54
49
  post_install_message:
data/.gitignore DELETED
@@ -1,6 +0,0 @@
1
- .DS_Store
2
- *.swp
3
- tmp
4
- pkg
5
- *.gem
6
- *.rbc
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source :rubygems
2
-
3
- gem "nokogiri"
4
- gem "trollop"
@@ -1,12 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- nokogiri (1.5.0)
5
- trollop (1.16.2)
6
-
7
- PLATFORMS
8
- ruby
9
-
10
- DEPENDENCIES
11
- nokogiri
12
- trollop
data/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2011 Barry Allard
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,24 +0,0 @@
1
- DownRightNow CLI and Ruby API
2
- =============================
3
-
4
- This is an unofficial gem and in no way connected with DownRightNow.com.
5
-
6
- Setup
7
- -----
8
- gem install downrightnow
9
-
10
- Hacking
11
- -------
12
- Please fork and create a topical branch similar to yournickname-feature-applies_to_version.
13
-
14
- Issues
15
- ------
16
- Use the github issue tracker.
17
-
18
- License
19
- -------
20
-
21
- Released under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
22
-
23
- Created by Barry Allard
24
-
@@ -1,25 +0,0 @@
1
- $:.unshift File.expand_path('../lib', __FILE__)
2
-
3
- require 'downrightnow'
4
-
5
- Gem::Specification.new do |gem|
6
- gem.name = "downrightnow"
7
- gem.version = DownRightNow.version
8
- gem.platform = Gem::Platform::RUBY
9
- gem.authors = "Barry Allard (steakknife)"
10
- gem.email = "barry@barryallard.name"
11
- gem.homepage = "https://github.com/steakknife/downrightnow"
12
- gem.summary = "Unofficial Ruby interface and command-line to DownRightnow.com"
13
- gem.description = "See http://downrightnow.com"
14
-
15
-
16
- # Man files are required because they are ignored by git
17
- man_files = Dir.glob("lib/downrightnow/man/**/*")
18
- git_files = `git ls-files`.split("\n") rescue ''
19
- gem.files = git_files + man_files
20
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select { |d| d =~ %r{^(README|bin/|data/|ext/|lib/|spec/|test/)} }
21
- gem.executables = "downrightnow"
22
-
23
- gem.add_dependency 'nokogiri', '>= 1.4.0'
24
- gem.add_dependency 'trollop', '>= 1.16'
25
- end