rankles 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -34,7 +34,7 @@ end
34
34
 
35
35
  task :default => :spec
36
36
 
37
- require 'rake/rdoctask'
37
+ require 'rdoc/task'
38
38
  Rake::RDocTask.new do |rdoc|
39
39
  if File.exist?('VERSION.yml')
40
40
  config = YAML.load(File.read('VERSION.yml'))
@@ -1,4 +1,5 @@
1
- require 'activesupport'
1
+ require 'active_support/time'
2
+
2
3
  module Rankles
3
4
  class Reddit
4
5
  attr_accessor :date, :upvotes, :downvotes
@@ -13,7 +14,7 @@ module Rankles
13
14
  self.downvotes = options[:downvotes]
14
15
  end
15
16
 
16
- # http://www.seomoz.org/img/upload/reddit_cf_algorithm.png
17
+ # http://www.seomoz.org/img/upload/reddit_cf_algorithm.png
17
18
  #
18
19
  # Gives the result of the reddit algorithm. Higher is better.
19
20
  def to_f
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rankles}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Josh Nichols"]
@@ -41,11 +41,11 @@ Gem::Specification.new do |s|
41
41
  s.specification_version = 2
42
42
 
43
43
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
44
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
44
+ s.add_runtime_dependency(%q<active_support>, [">= 0"])
45
45
  else
46
- s.add_dependency(%q<activesupport>, [">= 0"])
46
+ s.add_dependency(%q<active_support>, [">= 0"])
47
47
  end
48
48
  else
49
- s.add_dependency(%q<activesupport>, [">= 0"])
49
+ s.add_dependency(%q<active_support>, [">= 0"])
50
50
  end
51
51
  end
@@ -1,9 +1,5 @@
1
- require 'spec'
1
+ require 'rspec'
2
2
 
3
3
  $LOAD_PATH.unshift(File.dirname(__FILE__))
4
4
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
5
5
  require 'rankles'
6
-
7
- Spec::Runner.configure do |config|
8
-
9
- end
metadata CHANGED
@@ -1,37 +1,40 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rankles
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Josh Nichols
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2009-05-14 00:00:00 -04:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: activesupport
12
+ date: 2009-05-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: active_support
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
17
22
  type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  description:
26
31
  email: josh@technicalpickles.com
27
32
  executables: []
28
-
29
33
  extensions: []
30
-
31
- extra_rdoc_files:
34
+ extra_rdoc_files:
32
35
  - LICENSE
33
36
  - README.rdoc
34
- files:
37
+ files:
35
38
  - .document
36
39
  - .gitignore
37
40
  - LICENSE
@@ -42,32 +45,32 @@ files:
42
45
  - rankles.gemspec
43
46
  - spec/rankles_spec.rb
44
47
  - spec/spec_helper.rb
45
- has_rdoc: true
46
48
  homepage: http://github.com/technicalpickles/rankles
49
+ licenses: []
47
50
  post_install_message:
48
- rdoc_options:
51
+ rdoc_options:
49
52
  - --charset=UTF-8
50
- require_paths:
53
+ require_paths:
51
54
  - lib
52
- required_ruby_version: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
57
- version:
58
- required_rubygems_version: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: "0"
63
- version:
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
64
67
  requirements: []
65
-
66
68
  rubyforge_project: pickles
67
- rubygems_version: 1.3.1
69
+ rubygems_version: 1.8.25
68
70
  signing_key:
69
71
  specification_version: 2
70
72
  summary: Ranking algorithms.
71
- test_files:
73
+ test_files:
72
74
  - spec/rankles_spec.rb
73
75
  - spec/spec_helper.rb
76
+ has_rdoc: true