restpack_service 0.0.35 → 0.0.36

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: b4fa4927e1bc34cbe21538b88c483d0d02ea2a0b
4
- data.tar.gz: 66f76a2c47c4a6f39ce5115dc8c03cadc7ef973b
3
+ metadata.gz: 93bc03b34400697d12dc9d0a26b557bd0218e382
4
+ data.tar.gz: d003e8413048a9c7c26eefbd1fc514fb13c77c43
5
5
  SHA512:
6
- metadata.gz: 1e2d36ab59a3dca92dc65c894080745c588526558ca90899758a100c71ced3668cd7668500d2b6b1e7eb7f112a7516471c1c02f729f67ceba53f34810a7758f1
7
- data.tar.gz: 1ec5fe8a73aaf16faa8739b5bcbc471d90050d41f09028ad0f1e17f1148d2c84b9fe637208919f7890775062a1406022819e0251fafe4f64a6e0224bb86fb198
6
+ metadata.gz: cb7279083e900b3130a89186828e965544c5ee4e484c4521f4c9aef2165df487d0ece81aeb860a882c317fbde2f80f276cdd807079760963a8e7fcd41e3e9816
7
+ data.tar.gz: a914d457dffa573ab43eeea9be785c1e28c57b54e8e9e369df314df8762c984e496265fc18750c4f000a3e816e73f49b3ed1bf6821fa42c2232379d7d49da4b5
@@ -1,14 +1,9 @@
1
1
  module RestPack::Service
2
2
  class Configuration
3
- attr_accessor :db_table_prefix, :application_id
3
+ attr_accessor :application_id
4
4
 
5
5
  def initialize
6
- @db_table_prefix = 'restpack_'
7
6
  @application_id = 1
8
7
  end
9
-
10
- def prefix_db_table(db_table_name)
11
- "#{@db_table_prefix}#{db_table_name}".to_sym
12
- end
13
8
  end
14
9
  end
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Service
3
- VERSION = "0.0.35"
3
+ VERSION = "0.0.36"
4
4
  end
5
5
  end
@@ -4,12 +4,6 @@ describe RestPack::Service::Configuration do
4
4
  subject { RestPack::Service::Configuration.new }
5
5
 
6
6
  it "has defaults" do
7
- subject.db_table_prefix.should == "restpack_"
8
7
  subject.application_id.should == 1
9
8
  end
10
-
11
- describe ".prefix_db_table" do
12
- before { subject.db_table_prefix = 'prefix_' }
13
- it { subject.prefix_db_table('table').should == :prefix_table }
14
- end
15
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35
4
+ version: 0.0.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Joyce