ticketmaster-bugshelf 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,8 +10,9 @@ module BugshelfAPI
10
10
  def authenticate(subdomain, api_key)
11
11
  @subdomain = subdomain
12
12
 
13
- tld = ENV['RAILS_ENV'] == 'development' ? 'dev' : 'com'
14
- schema = ENV['RAILS_ENV'] == 'development' ? 'http' : 'https'
13
+ development = ENV['BUGS_ENV'] == 'development'
14
+ tld = development ? 'dev' : 'com'
15
+ schema = development ? 'http' : 'https'
15
16
 
16
17
  self::Base.site = "#{schema}://#{api_key}:***@#{subdomain}.bugshelf.#{tld}/"
17
18
  end
@@ -6,10 +6,6 @@ module TicketMaster::Provider
6
6
  class Project < TicketMaster::Provider::Base::Project
7
7
  API = BugshelfAPI::Project # The class to access the api's projects
8
8
 
9
- def id
10
- self[:project_key]
11
- end
12
-
13
9
  # copy from this.copy(that) copies that into this
14
10
  def copy(project)
15
11
  project.tickets.each do |ticket|
@@ -1,5 +1,5 @@
1
1
  module Ticketmaster
2
2
  module Bugshelf
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster-bugshelf
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Steinhausen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-28 00:00:00 +02:00
18
+ date: 2011-07-01 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency