driftrock-service 0.4.13 → 0.4.14

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'rake'
3
4
  # Specify your gem's dependencies in driftrock-service.gemspec
4
5
  gemspec
data/Rakefile CHANGED
@@ -4,6 +4,8 @@ require 'rspec/core/rake_task'
4
4
  require 'rspec'
5
5
 
6
6
  RSpec::Core::RakeTask.new('spec')
7
+ task :default => :spec
8
+
7
9
 
8
10
  #require 'rake/testtask'
9
11
  #
@@ -0,0 +1,12 @@
1
+ module Driftrock
2
+ module Admin
3
+ module DriftrockModel
4
+ class Company
5
+ include ::Driftrock::Service::DriftrockModel
6
+ set_api_path "/admin/companies"
7
+
8
+ attr_reader :id, :name
9
+ end
10
+ end
11
+ end
12
+ end
@@ -1,5 +1,5 @@
1
1
  module Driftrock
2
2
  module Service
3
- VERSION = "0.4.13"
3
+ VERSION = "0.4.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: driftrock-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.13
4
+ version: 0.4.14
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-07-09 00:00:00.000000000 Z
12
+ date: 2013-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -69,6 +69,7 @@ files:
69
69
  - lib/driftrock-service/driftrock_app.rb
70
70
  - lib/driftrock-service/driftrock_logger.rb
71
71
  - lib/driftrock-service/driftrock_model.rb
72
+ - lib/driftrock-service/driftrock_model/admin/company.rb
72
73
  - lib/driftrock-service/driftrock_model/admin/driftrock_app.rb
73
74
  - lib/driftrock-service/driftrock_model/admin/driftrock_user.rb
74
75
  - lib/driftrock-service/driftrock_model/channel.rb