atchu 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8c35162a53ed94b31f3e8219b487a76c6a0c826
4
- data.tar.gz: daa652e57924b66ef4f68057b2ae22746c6ac5ba
3
+ metadata.gz: 455539cf922dae2d4f7073e209c8aeb0cbfc88fc
4
+ data.tar.gz: 4f0c59c2b64c2e416ce8d1172df44795c8efde55
5
5
  SHA512:
6
- metadata.gz: a7b90b2228eebaf966571fae839131277d8dbe27d316fcd170b34ab25761a1df414a309f04bdb968818519b431156543720d9f511b4635db35398f7c9d92740d
7
- data.tar.gz: 7287233f2f10854768fadb6c8419e5a21f3fb1a369f286971fa60a0a4907d988ba82a7103a9b3bd06dd18810b5a02b2209a5b39b5dc1a4ae929a5e54609860fc
6
+ metadata.gz: 0a455ae64217d8f322769611509f5109c183ac4e5ef37ab0f2dd7059e72617ff2215648e38b7d2460459762f90c38cd53f70ba32850aea49ce49502410950a78
7
+ data.tar.gz: 941b343cdb7b7901aa258368f4c35558653a95d90ac19bebb18ab9612528861cf9e2d8dfc17541279a8d0f37518b0ce611d9a36eeeb2a4eb0d0834fa8a57cc45
@@ -11,7 +11,7 @@ class Model
11
11
  end
12
12
 
13
13
  def class_name
14
- table_name.classify
14
+ "#{table_name.classify}Db"
15
15
  end
16
16
 
17
17
  def file_name
@@ -4,8 +4,8 @@ describe Model,"model with table name, 'car_parts'" do
4
4
  @model = Model.for_table("car_parts")
5
5
  end
6
6
 
7
- it "model class name is CarPart" do
8
- expect(@model.class_name).to eq("CarPart")
7
+ it "model class name is CarPartDb" do
8
+ expect(@model.class_name).to eq("CarPartDb")
9
9
  end
10
10
 
11
11
  it "model file name is car_part" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atchu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deepak