br_api_fantasy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,9 @@
1
- # This belongs in rails_app/config/br_api_fantasy.yml. Adjust the api_key accordingly.
1
+ # This belongs in rails_app/config/br_api_fantasy.yml.
2
+ # Remember to change the api_key to the one given to you by Bleacher Report, opensesame will not work.
2
3
 
3
4
  development: &defaults
4
- api_uri: http://breport.local
5
- api_key: "southparkrocks"
5
+ api_uri: http://beta.stagingbleacherreport.com
6
+ api_key: opensesame
6
7
  default_return_to: http://games.stagingbleacherreport.com
7
8
 
8
9
  test:
@@ -10,9 +11,12 @@ test:
10
11
 
11
12
  staging:
12
13
  api_uri: http://beta.stagingbleacherreport.com
14
+ api_key: opensesame
15
+ default_return_to: http://games.stagingbleacherreport.com
13
16
  <<: *defaults
14
17
 
15
18
  production:
16
- api_uri: http://beta.stagingbleacherreport.com
17
- default_return_to: http://games.stagingbleacherreport.com
19
+ api_uri: http://bleacherreport.com
20
+ api_key: opensesame
21
+ default_return_to: http://games.bleacherreport.com
18
22
  <<: *defaults
data/gemspec.rb CHANGED
@@ -3,8 +3,8 @@ GEM_FILES = FileList['**/*'] - FileList['coverage', 'coverage/**/*', 'pkg', 'pkg
3
3
  GEM_SPEC = Gem::Specification.new do |s|
4
4
  # == CONFIGURE ==
5
5
  s.author = "Tung Nguyen"
6
- s.email = "tongueroo@gmail.com"
7
- s.homepage = "http://github.com/tongueroo/#{GEM_NAME}"
6
+ s.email = "tnguyen@bleacherreport.com"
7
+ s.homepage = "http://github.com/br/#{GEM_NAME}"
8
8
  s.summary = ""
9
9
  # == CONFIGURE ==
10
10
  s.extra_rdoc_files = [ "README.markdown" ]
@@ -13,7 +13,7 @@ GEM_SPEC = Gem::Specification.new do |s|
13
13
  s.name = GEM_NAME
14
14
  s.platform = Gem::Platform::RUBY
15
15
  s.require_path = "lib"
16
- s.version = "0.1.0"
16
+ s.version = "0.1.1"
17
17
 
18
18
  path = File.dirname(__FILE__)+"/config/br_api_fantasy.example.yml"
19
19
  yaml_instructions = IO.read(path)
@@ -30,7 +30,9 @@ Rails::Initializer.run do |config|
30
30
  ...
31
31
  end
32
32
 
33
- Also, please make sure you have the following in rails_app/config/br_api_fantasy.yml.
33
+ Also, create a br_api_fantasy.yml file and place it in your rails_app's' config directory (rails_app/config/br_api_fantasy.yml).
34
+
35
+ The br_api_fantasy.yml file will contain the following:
34
36
 
35
37
  #{yaml_instructions}
36
38
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tung Nguyen
@@ -14,12 +14,12 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-13 00:00:00 -07:00
17
+ date: 2010-07-15 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
21
21
  description:
22
- email: tongueroo@gmail.com
22
+ email: tnguyen@bleacherreport.com
23
23
  executables: []
24
24
 
25
25
  extensions: []
@@ -38,31 +38,33 @@ files:
38
38
  - spec/br_api_fantasy_spec.rb
39
39
  - spec/example_app/config/br_api_fantasy.yml
40
40
  - spec/example_app/log/test.log
41
- - spec/test.log
42
41
  has_rdoc: true
43
- homepage: http://github.com/tongueroo/br_api_fantasy
42
+ homepage: http://github.com/br/br_api_fantasy
44
43
  licenses: []
45
44
 
46
45
  post_install_message: |
47
46
  **************************************************
48
47
 
49
- Thanks for installing br_api_fantasy-0.1.0.
48
+ Thanks for installing br_api_fantasy-0.1.1.
50
49
 
51
50
  Please make sure to add the gem to your rails project.
52
51
 
53
52
  Rails::Initializer.run do |config|
54
53
  ...
55
- config.gem 'br_api_fantasy', :version => 0.1.0
54
+ config.gem 'br_api_fantasy', :version => 0.1.1
56
55
  ...
57
56
  end
58
57
 
59
- Also, please make sure you have the following in rails_app/config/br_api_fantasy.yml.
58
+ Also, create a br_api_fantasy.yml file and place it in your rails_app's' config directory (rails_app/config/br_api_fantasy.yml).
60
59
 
61
- # This belongs in rails_app/config/br_api_fantasy.yml. Adjust the api_key accordingly.
60
+ The br_api_fantasy.yml file will contain the following:
61
+
62
+ # This belongs in rails_app/config/br_api_fantasy.yml.
63
+ # Remember to change the api_key to the one given to you by Bleacher Report, opensesame will not work.
62
64
 
63
65
  development: &defaults
64
- api_uri: http://breport.local
65
- api_key: "southparkrocks"
66
+ api_uri: http://beta.stagingbleacherreport.com
67
+ api_key: opensesame
66
68
  default_return_to: http://games.stagingbleacherreport.com
67
69
 
68
70
  test:
@@ -70,11 +72,14 @@ post_install_message: |
70
72
 
71
73
  staging:
72
74
  api_uri: http://beta.stagingbleacherreport.com
75
+ api_key: opensesame
76
+ default_return_to: http://games.stagingbleacherreport.com
73
77
  <<: *defaults
74
78
 
75
79
  production:
76
- api_uri: http://beta.stagingbleacherreport.com
77
- default_return_to: http://games.stagingbleacherreport.com
80
+ api_uri: http://bleacherreport.com
81
+ api_key: opensesame
82
+ default_return_to: http://games.bleacherreport.com
78
83
  <<: *defaults
79
84
 
80
85
 
data/spec/test.log DELETED
@@ -1 +0,0 @@
1
- # Logfile created on Mon Jul 12 20:56:09 -0700 2010 by logger.rb/22283