dbc-ruby 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -9,7 +9,7 @@ If you want to use the Dev Bootcamp (DBC) Ruby gem, run:
9
9
  ## Configuration
10
10
 
11
11
  You must have an api key to make api requests with this gem.
12
- You can see your api key by logging in at [dev.devbootcamp.com](http://dev.devbootcamp.com)
12
+ You can see your api key by logging in at [developer.devbootcamp.com](http://developer.devbootcamp.com)
13
13
 
14
14
  Set your DBC_API environment variable to your api key, or use the gem to configure your key:
15
15
  ```ruby
data/lib/dbc-ruby.rb CHANGED
@@ -1,4 +1,4 @@
1
- require_relative 'dbc/dbc_object'
1
+ require_relative 'dbc/dbc_object'
2
2
  require_relative 'dbc/user'
3
3
  require_relative 'dbc/cohort'
4
4
  require_relative 'dbc/challenge'
@@ -1,3 +1,3 @@
1
1
  module DBC
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
@@ -3,7 +3,7 @@ module DBC
3
3
  def initialize(attributes)
4
4
  attributes.each do |key, value|
5
5
  instance_variable_set("@#{key}", value)
6
- self.class.send(:define_method, key){ value }
6
+ self.class.send(:attr_reader, key)
7
7
  end
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbc-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-23 00:00:00.000000000 Z
12
+ date: 2013-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client