diggr 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/README.txt +2 -1
- data/Rakefile +1 -1
- data/lib/diggr.rb +1 -1
- data/lib/diggr/json_parser.rb +3 -3
- metadata +4 -4
data/History.txt
CHANGED
data/README.txt
CHANGED
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ Hoe.new('diggr', Diggr::VERSION) do |p|
|
|
9
9
|
p.developer('Drew Olson', 'drew@drewolson.org')
|
10
10
|
p.extra_deps << ['need', '>= 1.0.2']
|
11
11
|
p.extra_deps << ['json', '>= 1.1.3']
|
12
|
-
p.extra_deps << ['activesupport', '>= 2.1.
|
12
|
+
p.extra_deps << ['activesupport', '>= 2.1.1']
|
13
13
|
p.remote_rdoc_dir = ''
|
14
14
|
end
|
15
15
|
|
data/lib/diggr.rb
CHANGED
data/lib/diggr/json_parser.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require 'active_support
|
2
|
+
require 'active_support'
|
3
3
|
require 'json'
|
4
4
|
require 'need'
|
5
5
|
need { 'api_error' }
|
@@ -42,9 +42,9 @@ module Diggr
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def find_class(collection_type)
|
45
|
-
file_name =
|
45
|
+
file_name = collection_type.singularize
|
46
46
|
need { File.join('response_classes',file_name) }
|
47
|
-
|
47
|
+
('Diggr::' + file_name.camelize).constantize
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diggr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Olson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-08 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 2.1.
|
43
|
+
version: 2.1.1
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: hoe
|
@@ -96,7 +96,7 @@ files:
|
|
96
96
|
- test/test_topic.rb
|
97
97
|
- test/test_user.rb
|
98
98
|
has_rdoc: true
|
99
|
-
homepage: http://diggr.rubyforge.org
|
99
|
+
homepage: Documentation - http://diggr.rubyforge.org
|
100
100
|
post_install_message:
|
101
101
|
rdoc_options:
|
102
102
|
- --main
|