fbgraph_rails 0.1.7 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.project CHANGED
@@ -5,6 +5,11 @@
5
5
  <projects>
6
6
  </projects>
7
7
  <buildSpec>
8
+ <buildCommand>
9
+ <name>com.aptana.ide.core.unifiedBuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
8
13
  <buildCommand>
9
14
  <name>org.rubypeople.rdt.core.rubybuilder</name>
10
15
  <arguments>
@@ -12,6 +17,7 @@
12
17
  </buildCommand>
13
18
  </buildSpec>
14
19
  <natures>
20
+ <nature>com.aptana.ruby.core.rubynature</nature>
15
21
  <nature>org.rubypeople.rdt.core.rubynature</nature>
16
22
  </natures>
17
23
  </projectDescription>
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source "http://rubygems.org"
2
+ gem "erubis", ">= 2.7.0"
3
+ gem "fbgraph", ">= 1.8.0"
4
+ gem "json", ">= 1.6.1"
5
+ gem "oauth2", ">= 0.5.0"
6
+ gem "rails", ">= 3.1.0"
7
+
8
+ group :development do
9
+ gem "bundler", "~> 1.0.0"
10
+ gem "jeweler", "~> 1.6.0"
11
+ gem "rcov", ">= 0"
12
+ gem "sqlite3", ">= 1.3.3"
13
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,133 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ actionmailer (3.1.0)
5
+ actionpack (= 3.1.0)
6
+ mail (~> 2.3.0)
7
+ actionpack (3.1.0)
8
+ activemodel (= 3.1.0)
9
+ activesupport (= 3.1.0)
10
+ builder (~> 3.0.0)
11
+ erubis (~> 2.7.0)
12
+ i18n (~> 0.6)
13
+ rack (~> 1.3.2)
14
+ rack-cache (~> 1.0.3)
15
+ rack-mount (~> 0.8.2)
16
+ rack-test (~> 0.6.1)
17
+ sprockets (~> 2.0.0)
18
+ activemodel (3.1.0)
19
+ activesupport (= 3.1.0)
20
+ bcrypt-ruby (~> 3.0.0)
21
+ builder (~> 3.0.0)
22
+ i18n (~> 0.6)
23
+ activerecord (3.1.0)
24
+ activemodel (= 3.1.0)
25
+ activesupport (= 3.1.0)
26
+ arel (~> 2.2.1)
27
+ tzinfo (~> 0.3.29)
28
+ activeresource (3.1.0)
29
+ activemodel (= 3.1.0)
30
+ activesupport (= 3.1.0)
31
+ activesupport (3.1.0)
32
+ multi_json (~> 1.0)
33
+ addressable (2.2.6)
34
+ arel (2.2.1)
35
+ bcrypt-ruby (3.0.1)
36
+ builder (3.0.0)
37
+ erubis (2.7.0)
38
+ faraday (0.7.4)
39
+ addressable (~> 2.2.6)
40
+ multipart-post (~> 1.1.0)
41
+ rack (< 2, >= 1.1.0)
42
+ fbgraph (1.8.0)
43
+ activesupport
44
+ activesupport
45
+ hashie
46
+ hashie
47
+ i18n
48
+ i18n
49
+ json
50
+ json
51
+ oauth2
52
+ oauth2
53
+ rest-client
54
+ rest-client
55
+ typhoeus
56
+ typhoeus
57
+ git (1.2.5)
58
+ hashie (1.1.0)
59
+ hike (1.2.1)
60
+ i18n (0.6.0)
61
+ jeweler (1.6.4)
62
+ bundler (~> 1.0)
63
+ git (>= 1.2.5)
64
+ rake
65
+ json (1.6.1)
66
+ mail (2.3.0)
67
+ i18n (>= 0.4.0)
68
+ mime-types (~> 1.16)
69
+ treetop (~> 1.4.8)
70
+ mime-types (1.16)
71
+ multi_json (1.0.3)
72
+ multipart-post (1.1.3)
73
+ oauth2 (0.5.0)
74
+ faraday (< 0.8, >= 0.6.1)
75
+ multi_json (~> 1.0.0)
76
+ polyglot (0.3.2)
77
+ rack (1.3.3)
78
+ rack-cache (1.0.3)
79
+ rack (>= 0.4)
80
+ rack-mount (0.8.3)
81
+ rack (>= 1.0.0)
82
+ rack-ssl (1.3.2)
83
+ rack
84
+ rack-test (0.6.1)
85
+ rack (>= 1.0)
86
+ rails (3.1.0)
87
+ actionmailer (= 3.1.0)
88
+ actionpack (= 3.1.0)
89
+ activerecord (= 3.1.0)
90
+ activeresource (= 3.1.0)
91
+ activesupport (= 3.1.0)
92
+ bundler (~> 1.0)
93
+ railties (= 3.1.0)
94
+ railties (3.1.0)
95
+ actionpack (= 3.1.0)
96
+ activesupport (= 3.1.0)
97
+ rack-ssl (~> 1.3.2)
98
+ rake (>= 0.8.7)
99
+ rdoc (~> 3.4)
100
+ thor (~> 0.14.6)
101
+ rake (0.9.2)
102
+ rcov (0.9.10)
103
+ rdoc (3.9.4)
104
+ rest-client (1.6.7)
105
+ mime-types (>= 1.16)
106
+ sprockets (2.0.0)
107
+ hike (~> 1.2)
108
+ rack (~> 1.0)
109
+ tilt (!= 1.3.0, ~> 1.1)
110
+ sqlite3 (1.3.4)
111
+ thor (0.14.6)
112
+ tilt (1.3.3)
113
+ treetop (1.4.10)
114
+ polyglot
115
+ polyglot (>= 0.3.1)
116
+ typhoeus (0.2.4)
117
+ mime-types
118
+ mime-types
119
+ tzinfo (0.3.29)
120
+
121
+ PLATFORMS
122
+ ruby
123
+
124
+ DEPENDENCIES
125
+ bundler (~> 1.0.0)
126
+ erubis (>= 2.7.0)
127
+ fbgraph (>= 1.8.0)
128
+ jeweler (~> 1.6.0)
129
+ json (>= 1.6.1)
130
+ oauth2 (>= 0.5.0)
131
+ rails (>= 3.1.0)
132
+ rcov
133
+ sqlite3 (>= 1.3.3)
data/Rakefile CHANGED
@@ -1,25 +1,26 @@
1
1
  require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
2
10
  require 'rake'
3
11
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "fbgraph_rails"
8
- gem.summary = %Q{Rails plug-in integrating the fbgraph gem}
9
- gem.description = %Q{Support for sessions tied to Facebook users.}
10
- gem.email = "victor@costan.us"
11
- gem.homepage = "http://github.com/costan/fbgraph_rails"
12
- gem.authors = ["Victor Costan"]
13
- gem.add_runtime_dependency "erubis", ">= 2.3.5"
14
- gem.add_runtime_dependency "fbgraph", ">= 0.0.5"
15
- gem.add_runtime_dependency "json", ">= 1.4.2"
16
- gem.add_runtime_dependency "oauth2", ">= 0.0.8"
17
- gem.add_development_dependency "jeweler", ">=1.4.0"
18
- end
19
- Jeweler::GemcutterTasks.new
20
- rescue LoadError
21
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ gem.name = "fbgraph_rails"
15
+ gem.homepage = "http://github.com/costan/fbgraph_rails"
16
+ gem.license = "MIT"
17
+ gem.summary = %Q{Rails plug-in integrating the fbgraph gem}
18
+ gem.description = %Q{Support for sessions tied to Facebook users.}
19
+ gem.email = "victor@costan.us"
20
+ gem.authors = ["Victor Costan"]
21
+ # Dependencies in Gemfile.
22
22
  end
23
+ Jeweler::RubygemsDotOrgTasks.new
23
24
 
24
25
  require 'rake/testtask'
25
26
  Rake::TestTask.new(:test) do |test|
@@ -28,29 +29,14 @@ Rake::TestTask.new(:test) do |test|
28
29
  test.verbose = true
29
30
  end
30
31
 
31
- begin
32
- require 'rcov/rcovtask'
33
- Rcov::RcovTask.new do |test|
34
- test.libs << 'test'
35
- test.pattern = 'test/**/*_test.rb'
36
- test.verbose = true
37
- end
38
- rescue LoadError
39
- task :rcov do
40
- abort "RCov is not available. In order to run rcov, you must: sudo gem install rcov"
41
- end
42
- end
43
-
44
- task :test => :check_dependencies
45
-
46
32
  task :default => :test
47
33
 
48
- require 'rake/rdoctask'
34
+ require 'rdoc/task'
49
35
  Rake::RDocTask.new do |rdoc|
50
36
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
51
37
 
52
38
  rdoc.rdoc_dir = 'rdoc'
53
- rdoc.title = "fbgraph_rails #{version}"
39
+ rdoc.title = "authpwn_rails #{version}"
54
40
  rdoc.rdoc_files.include('README*')
55
41
  rdoc.rdoc_files.include('lib/**/*.rb')
56
42
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.2.0
data/config/routes.rb CHANGED
@@ -1,3 +1,3 @@
1
- Rails::Application.routes.draw do |map|
1
+ FBGraphRails::Engine.routes.draw do
2
2
  resource :facebook_oauth, :controller => 'FacebookOauth'
3
3
  end
@@ -1,23 +1,25 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{fbgraph_rails}
8
- s.version = "0.1.7"
7
+ s.name = "fbgraph_rails"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
12
- s.date = %q{2010-10-16}
13
- s.description = %q{Support for sessions tied to Facebook users.}
14
- s.email = %q{victor@costan.us}
12
+ s.date = "2011-09-26"
13
+ s.description = "Support for sessions tied to Facebook users."
14
+ s.email = "victor@costan.us"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
17
  "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".project",
21
+ "Gemfile",
22
+ "Gemfile.lock",
21
23
  "LICENSE",
22
24
  "README.rdoc",
23
25
  "Rakefile",
@@ -33,38 +35,46 @@ Gem::Specification.new do |s|
33
35
  "test/fbgraph_rails_test.rb",
34
36
  "test/test_helper.rb"
35
37
  ]
36
- s.homepage = %q{http://github.com/costan/fbgraph_rails}
38
+ s.homepage = "http://github.com/costan/fbgraph_rails"
39
+ s.licenses = ["MIT"]
37
40
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.7}
39
- s.summary = %q{Rails plug-in integrating the fbgraph gem}
40
- s.test_files = [
41
- "test/fbgraph_rails_test.rb",
42
- "test/test_helper.rb"
43
- ]
41
+ s.rubygems_version = "1.8.10"
42
+ s.summary = "Rails plug-in integrating the fbgraph gem"
44
43
 
45
44
  if s.respond_to? :specification_version then
46
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
45
  s.specification_version = 3
48
46
 
49
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<erubis>, [">= 2.3.5"])
51
- s.add_runtime_dependency(%q<fbgraph>, [">= 0.0.5"])
52
- s.add_runtime_dependency(%q<json>, [">= 1.4.2"])
53
- s.add_runtime_dependency(%q<oauth2>, [">= 0.0.8"])
54
- s.add_development_dependency(%q<jeweler>, [">= 1.4.0"])
48
+ s.add_runtime_dependency(%q<erubis>, [">= 2.7.0"])
49
+ s.add_runtime_dependency(%q<fbgraph>, [">= 1.8.0"])
50
+ s.add_runtime_dependency(%q<json>, [">= 1.6.1"])
51
+ s.add_runtime_dependency(%q<oauth2>, [">= 0.5.0"])
52
+ s.add_runtime_dependency(%q<rails>, [">= 3.1.0"])
53
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
55
+ s.add_development_dependency(%q<rcov>, [">= 0"])
56
+ s.add_development_dependency(%q<sqlite3>, [">= 1.3.3"])
55
57
  else
56
- s.add_dependency(%q<erubis>, [">= 2.3.5"])
57
- s.add_dependency(%q<fbgraph>, [">= 0.0.5"])
58
- s.add_dependency(%q<json>, [">= 1.4.2"])
59
- s.add_dependency(%q<oauth2>, [">= 0.0.8"])
60
- s.add_dependency(%q<jeweler>, [">= 1.4.0"])
58
+ s.add_dependency(%q<erubis>, [">= 2.7.0"])
59
+ s.add_dependency(%q<fbgraph>, [">= 1.8.0"])
60
+ s.add_dependency(%q<json>, [">= 1.6.1"])
61
+ s.add_dependency(%q<oauth2>, [">= 0.5.0"])
62
+ s.add_dependency(%q<rails>, [">= 3.1.0"])
63
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
64
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
65
+ s.add_dependency(%q<rcov>, [">= 0"])
66
+ s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
61
67
  end
62
68
  else
63
- s.add_dependency(%q<erubis>, [">= 2.3.5"])
64
- s.add_dependency(%q<fbgraph>, [">= 0.0.5"])
65
- s.add_dependency(%q<json>, [">= 1.4.2"])
66
- s.add_dependency(%q<oauth2>, [">= 0.0.8"])
67
- s.add_dependency(%q<jeweler>, [">= 1.4.0"])
69
+ s.add_dependency(%q<erubis>, [">= 2.7.0"])
70
+ s.add_dependency(%q<fbgraph>, [">= 1.8.0"])
71
+ s.add_dependency(%q<json>, [">= 1.6.1"])
72
+ s.add_dependency(%q<oauth2>, [">= 0.5.0"])
73
+ s.add_dependency(%q<rails>, [">= 3.1.0"])
74
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
75
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
76
+ s.add_dependency(%q<rcov>, [">= 0"])
77
+ s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
68
78
  end
69
79
  end
70
80
 
@@ -5,17 +5,7 @@ require 'rails'
5
5
  module FBGraphRails
6
6
 
7
7
  class Engine < Rails::Engine
8
- paths.app = "app"
9
- paths.app.controllers = "app/controllers"
10
- paths.app.helpers = "app/helpers"
11
- paths.app.models = "app/models"
12
- paths.app.views = "app/views"
13
- # paths.lib = "lib"
14
- # paths.lib.tasks = "lib/tasks"
15
- # paths.config = "config"
16
- # paths.config.initializers = "config/initializers"
17
- # paths.config.locales = "config/locales"
18
- paths.config.routes = "config/routes.rb"
8
+
19
9
  end # class FBGraphRails::Engine
20
10
 
21
11
  end # namespace FBGraphRails
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbgraph_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 7
10
- version: 0.1.7
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Costan
@@ -15,89 +15,150 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-16 00:00:00 -04:00
19
- default_executable:
18
+ date: 2011-09-26 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- name: erubis
23
- prerelease: false
24
21
  requirement: &id001 !ruby/object:Gem::Requirement
25
22
  none: false
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- hash: 9
26
+ hash: 19
30
27
  segments:
31
28
  - 2
32
- - 3
33
- - 5
34
- version: 2.3.5
35
- type: :runtime
29
+ - 7
30
+ - 0
31
+ version: 2.7.0
36
32
  version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: fbgraph
33
+ name: erubis
39
34
  prerelease: false
35
+ type: :runtime
36
+ - !ruby/object:Gem::Dependency
40
37
  requirement: &id002 !ruby/object:Gem::Requirement
41
38
  none: false
42
39
  requirements:
43
40
  - - ">="
44
41
  - !ruby/object:Gem::Version
45
- hash: 21
42
+ hash: 55
46
43
  segments:
44
+ - 1
45
+ - 8
47
46
  - 0
48
- - 0
49
- - 5
50
- version: 0.0.5
51
- type: :runtime
47
+ version: 1.8.0
52
48
  version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: json
49
+ name: fbgraph
55
50
  prerelease: false
51
+ type: :runtime
52
+ - !ruby/object:Gem::Dependency
56
53
  requirement: &id003 !ruby/object:Gem::Requirement
57
54
  none: false
58
55
  requirements:
59
56
  - - ">="
60
57
  - !ruby/object:Gem::Version
61
- hash: 3
58
+ hash: 13
62
59
  segments:
63
60
  - 1
64
- - 4
65
- - 2
66
- version: 1.4.2
67
- type: :runtime
61
+ - 6
62
+ - 1
63
+ version: 1.6.1
68
64
  version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: oauth2
65
+ name: json
71
66
  prerelease: false
67
+ type: :runtime
68
+ - !ruby/object:Gem::Dependency
72
69
  requirement: &id004 !ruby/object:Gem::Requirement
73
70
  none: false
74
71
  requirements:
75
72
  - - ">="
76
73
  - !ruby/object:Gem::Version
77
- hash: 15
74
+ hash: 11
78
75
  segments:
79
76
  - 0
77
+ - 5
80
78
  - 0
81
- - 8
82
- version: 0.0.8
83
- type: :runtime
79
+ version: 0.5.0
84
80
  version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: jeweler
81
+ name: oauth2
87
82
  prerelease: false
83
+ type: :runtime
84
+ - !ruby/object:Gem::Dependency
88
85
  requirement: &id005 !ruby/object:Gem::Requirement
89
86
  none: false
90
87
  requirements:
91
88
  - - ">="
92
89
  - !ruby/object:Gem::Version
93
- hash: 7
90
+ hash: 3
94
91
  segments:
92
+ - 3
95
93
  - 1
96
- - 4
97
94
  - 0
98
- version: 1.4.0
99
- type: :development
95
+ version: 3.1.0
100
96
  version_requirements: *id005
97
+ name: rails
98
+ prerelease: false
99
+ type: :runtime
100
+ - !ruby/object:Gem::Dependency
101
+ requirement: &id006 !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ~>
105
+ - !ruby/object:Gem::Version
106
+ hash: 23
107
+ segments:
108
+ - 1
109
+ - 0
110
+ - 0
111
+ version: 1.0.0
112
+ version_requirements: *id006
113
+ name: bundler
114
+ prerelease: false
115
+ type: :development
116
+ - !ruby/object:Gem::Dependency
117
+ requirement: &id007 !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ~>
121
+ - !ruby/object:Gem::Version
122
+ hash: 15
123
+ segments:
124
+ - 1
125
+ - 6
126
+ - 0
127
+ version: 1.6.0
128
+ version_requirements: *id007
129
+ name: jeweler
130
+ prerelease: false
131
+ type: :development
132
+ - !ruby/object:Gem::Dependency
133
+ requirement: &id008 !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 3
139
+ segments:
140
+ - 0
141
+ version: "0"
142
+ version_requirements: *id008
143
+ name: rcov
144
+ prerelease: false
145
+ type: :development
146
+ - !ruby/object:Gem::Dependency
147
+ requirement: &id009 !ruby/object:Gem::Requirement
148
+ none: false
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ hash: 29
153
+ segments:
154
+ - 1
155
+ - 3
156
+ - 3
157
+ version: 1.3.3
158
+ version_requirements: *id009
159
+ name: sqlite3
160
+ prerelease: false
161
+ type: :development
101
162
  description: Support for sessions tied to Facebook users.
102
163
  email: victor@costan.us
103
164
  executables: []
@@ -109,6 +170,8 @@ extra_rdoc_files:
109
170
  - README.rdoc
110
171
  files:
111
172
  - .project
173
+ - Gemfile
174
+ - Gemfile.lock
112
175
  - LICENSE
113
176
  - README.rdoc
114
177
  - Rakefile
@@ -123,10 +186,9 @@ files:
123
186
  - lib/fbgraph_rails/fbgraph_client.rb
124
187
  - test/fbgraph_rails_test.rb
125
188
  - test/test_helper.rb
126
- has_rdoc: true
127
189
  homepage: http://github.com/costan/fbgraph_rails
128
- licenses: []
129
-
190
+ licenses:
191
+ - MIT
130
192
  post_install_message:
131
193
  rdoc_options: []
132
194
 
@@ -153,10 +215,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
215
  requirements: []
154
216
 
155
217
  rubyforge_project:
156
- rubygems_version: 1.3.7
218
+ rubygems_version: 1.8.10
157
219
  signing_key:
158
220
  specification_version: 3
159
221
  summary: Rails plug-in integrating the fbgraph gem
160
- test_files:
161
- - test/fbgraph_rails_test.rb
162
- - test/test_helper.rb
222
+ test_files: []
223
+