yinx_sql 0.1.0 → 0.1.1

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: 9ebcfe753667d3e0f0cd31483817cbbb3b54c2da
4
- data.tar.gz: 48e0b15a5b3c1f7e270666e5c5d29eca6ae112fe
3
+ metadata.gz: 8f703709951eaeef0cf7a2b115278102d7acea21
4
+ data.tar.gz: 48cc8532ab89e5a2546628213bdeab682ff2d583
5
5
  SHA512:
6
- metadata.gz: 82f7b69aebc38044849035383b02f581d793edec2c090b0eeaee88467590194370ba29df04b58afa8b24186f0330699ccb35caf62c51f4ecd71b0eabba7967e0
7
- data.tar.gz: bc65059099c0bc7cfd7abd2e4cc07508046a1c8dc4a9200399b0db70b542ba60b255b09c8e55ed12d2b3ca572e48baca2846988e7f15fab96a3d405a1aa15a7d
6
+ metadata.gz: 3bb765ecea74beedabe74a1adde08bced30f3cbfb71176079091e30ffe595c8d01d2c7f0407e24f14796a3ea374c736d2235aa5a362ea76922652e13be4894f7
7
+ data.tar.gz: be02438d9c453e7866f8dabe1f75eefefb0ef2a9f0d56b089d5b2af4144f98d68c67f9df16bd0c939fcd845b7001e30003aaf224eb4dc2a97c44a47740ab0f12
data/lib/yinx_sql/book.rb CHANGED
@@ -4,7 +4,7 @@ module Yinx
4
4
  class Book < ActiveRecord::Base
5
5
  belongs_to :stack
6
6
  belongs_to :batch
7
- has_many :notes
7
+ has_many :notes, dependent: :destroy
8
8
  end
9
9
 
10
10
  end
@@ -1,5 +1,5 @@
1
1
  module Yinx
2
2
  module SQL
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
data/lib/yinx_sql.rb CHANGED
@@ -2,6 +2,7 @@ require "yinx_sql/version"
2
2
  require 'active_record'
3
3
  require 'yinx'
4
4
  require 'yinx_sql/batch'
5
+ require 'yinx_sql/json_batch'
5
6
 
6
7
  module Yinx
7
8
  module SQL
data/yinx_sql.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "minitest", "~> 5.0"
26
26
 
27
- spec.add_dependency "yinx", "= 0.1.3"
27
+ spec.add_dependency "yinx", "0.1.4"
28
28
  spec.add_dependency "activerecord", "~> 5.0.0"
29
29
  spec.add_dependency "pg", "~> 0.19.0"
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yinx_sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ken
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-28 00:00:00.000000000 Z
11
+ date: 2017-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.3
61
+ version: 0.1.4
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.3
68
+ version: 0.1.4
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activerecord
71
71
  requirement: !ruby/object:Gem::Requirement