restpack_activity_service 0.0.9 → 0.0.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c809084f7c16056814ca9844c45a2ed0a599fae5
4
- data.tar.gz: 0f2cdace64ef48754e0d709eedba8e5762f7a8ba
3
+ metadata.gz: c21c2223191cc1477b4843304085bd0b380e77fb
4
+ data.tar.gz: 4e2cf984b5d20f21b545a01c9c3126b33ec6de2c
5
5
  SHA512:
6
- metadata.gz: ce6f7ec0aad87e39ca461e991355bd1b44f4e399de477bb65bdeff928b68ac15c92e85a64af26e5be1cf5964e21957fde57db3d7fe86b49eb4a49aeeeb2374e0
7
- data.tar.gz: adde67ef868d86e67febaa57d31b86625d5ac8612ea77ae9013485bb8b91d85ce2160ec03bb15f0bf2e3949e5d12b4092bfcd2040736544affd4ff5ce5dc1e08
6
+ metadata.gz: 9dbdf52da0c4c30647641c66bdc388c903afa8f8c558cf809a807188a83e899bb452978d6a5ba6992cbdec2ac61aec77f279f21a4afb20a0d9685cb8bcfc5ea5
7
+ data.tar.gz: c19e259f1a51650812725026b047bf140bedbefe2b130813b07bea7a88209b7acda34ee5531fe0ce696c1ca320653b1872c4821a16942a02267d6967c508f921
@@ -1,6 +1,6 @@
1
1
  class CreateActivityTable < ActiveRecord::Migration
2
2
  def table_name
3
- RestPack::Activity::Service.config.prefix_db_table(:activities)
3
+ :restpack_activities
4
4
  end
5
5
 
6
6
  def up
@@ -4,7 +4,6 @@ require "restpack_serializer"
4
4
 
5
5
  require "restpack_activity_service/version"
6
6
  require "restpack_activity_service/configuration"
7
- require "restpack_activity_service/models/base"
8
7
  require "restpack_activity_service/models/activity"
9
8
 
10
9
  require "restpack_activity_service/serializers/activity_serializer"
@@ -1,6 +1,6 @@
1
1
  module RestPack::Activity::Service::Models
2
- class Activity < Base
3
- self.restpack_table_name :activities
2
+ class Activity < ActiveRecord::Base
3
+ self.table_name = :restpack_activities
4
4
 
5
5
  def self.search(query)
6
6
  conditions = <<-EOS
@@ -33,7 +33,7 @@ namespace :restpack do
33
33
  task :configuration do
34
34
  p "RestPack::Activity::Service Configuration"
35
35
  p "--------------------------------"
36
- p "db_table_prefix: #{RestPack::Activity::Service.config.db_table_prefix}"
36
+ p "TODO"
37
37
  end
38
38
  end
39
39
  end
@@ -1,7 +1,7 @@
1
1
  module RestPack
2
2
  module Activity
3
3
  module Service
4
- VERSION = "0.0.9"
4
+ VERSION = "0.0.10"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack_activity_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Joyce
@@ -197,7 +197,6 @@ files:
197
197
  - lib/restpack_activity_service/api/activity.rb
198
198
  - lib/restpack_activity_service/configuration.rb
199
199
  - lib/restpack_activity_service/models/activity.rb
200
- - lib/restpack_activity_service/models/base.rb
201
200
  - lib/restpack_activity_service/serializers/activity_serializer.rb
202
201
  - lib/restpack_activity_service/services.rb
203
202
  - lib/restpack_activity_service/services/activity/create.rb
@@ -1,9 +0,0 @@
1
- module RestPack::Activity::Service::Models
2
- class Base < ActiveRecord::Base
3
- self.abstract_class = true
4
-
5
- def self.restpack_table_name(name)
6
- self.table_name = RestPack::Activity::Service.config.prefix_db_table(name)
7
- end
8
- end
9
- end