mobility 0.2.1 → 0.2.2

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: b45f4c0840bad77be4560ae431f588df52415047
4
- data.tar.gz: 8c455d55f69fc1fca96341d55911078512aa7aed
3
+ metadata.gz: 623c245fa34a8c5db263bfe11d0c25a5a740095b
4
+ data.tar.gz: d1a22043816743b1791e815542847eac7541270d
5
5
  SHA512:
6
- metadata.gz: 8c9c1b4ca0b560cf46ffe3a6e605fffe2733f8d7bde65d5b66a88b349673adcb25b4b7a9c1ad1558368b7446304eb6a049e765b70578ecca6c433b3fe8c5e221
7
- data.tar.gz: 376c926ede76586be12286f7d8232066be02eccd0209d1e28526a08ed88138eeebe9e807da6a97e98c2a75581441bea251a16dcf48b359da147f147fad062343
6
+ metadata.gz: 31241f20d2dc9bee3394859c5436a551af4e9aceb325ae2041c033382c9195b3acde7721e38d4517ed3af260ba9e17a479534067b623cee59034750829f70c63
7
+ data.tar.gz: '059a9d0e35c7a2b937a7c0c9913b2bdaeab0178d5d5b4358f8db29bac3b47da00230ceb5abbd6087837a32368a4858e72e189bf7bb6d43128bfcf376d8810fbb'
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## 0.2
4
4
 
5
+ ### 0.2.2 (August 23, 2017)
6
+ * Set default values in Sequel Jsonb/Hstore backends ([#80](https://github.com/shioyama/mobility/pull/80))
7
+
5
8
  ### 0.2.1 (August 20, 2017)
6
9
 
7
10
  * Fix missing requires in `Mobility::Backends::Sequel::PgHash` ([22df29](https://github.com/shioyama/mobility/commit/22df2946bcccadd7dff0880539ac828c42111adc))
@@ -1,19 +1,50 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mobility (0.2.0)
4
+ mobility (0.2.1)
5
5
  i18n (>= 0.6.10, < 0.9)
6
6
  request_store (~> 1.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
+ actionpack (5.1.3)
12
+ actionview (= 5.1.3)
13
+ activesupport (= 5.1.3)
14
+ rack (~> 2.0)
15
+ rack-test (~> 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (5.1.3)
19
+ activesupport (= 5.1.3)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
+ activemodel (5.1.3)
25
+ activesupport (= 5.1.3)
26
+ activerecord (5.1.3)
27
+ activemodel (= 5.1.3)
28
+ activesupport (= 5.1.3)
29
+ arel (~> 8.0)
30
+ activesupport (5.1.3)
31
+ concurrent-ruby (~> 1.0, >= 1.0.2)
32
+ i18n (~> 0.7)
33
+ minitest (~> 5.1)
34
+ tzinfo (~> 1.1)
35
+ arel (8.0.0)
36
+ builder (3.2.3)
11
37
  byebug (9.0.6)
12
38
  coderay (1.1.1)
39
+ concurrent-ruby (1.0.5)
13
40
  database_cleaner (1.6.1)
14
41
  diff-lcs (1.3)
42
+ erubi (1.6.1)
15
43
  ffi (1.9.18)
16
44
  formatador (0.2.5)
45
+ generator_spec (0.9.4)
46
+ activesupport (>= 3.0.0)
47
+ railties (>= 3.0.0)
17
48
  guard (2.14.1)
18
49
  formatador (>= 0.2.4)
19
50
  listen (>= 2.7, < 4.0)
@@ -33,10 +64,16 @@ GEM
33
64
  rb-fsevent (~> 0.9, >= 0.9.4)
34
65
  rb-inotify (~> 0.9, >= 0.9.7)
35
66
  ruby_dep (~> 1.2)
67
+ loofah (2.0.3)
68
+ nokogiri (>= 1.5.9)
36
69
  lumberjack (1.0.12)
37
70
  method_source (0.8.2)
71
+ mini_portile2 (2.2.0)
72
+ minitest (5.10.3)
38
73
  mysql2 (0.3.21)
39
74
  nenv (0.3.0)
75
+ nokogiri (1.8.0)
76
+ mini_portile2 (~> 2.2.0)
40
77
  notiffany (0.1.1)
41
78
  nenv (~> 0.1)
42
79
  shellany (~> 0.0)
@@ -48,6 +85,20 @@ GEM
48
85
  pry-byebug (3.4.2)
49
86
  byebug (~> 9.0)
50
87
  pry (~> 0.10)
88
+ rack (2.0.3)
89
+ rack-test (0.6.3)
90
+ rack (>= 1.0)
91
+ rails-dom-testing (2.0.3)
92
+ activesupport (>= 4.2.0)
93
+ nokogiri (>= 1.6)
94
+ rails-html-sanitizer (1.0.3)
95
+ loofah (~> 2.0)
96
+ railties (5.1.3)
97
+ actionpack (= 5.1.3)
98
+ activesupport (= 5.1.3)
99
+ method_source
100
+ rake (>= 0.8.7)
101
+ thor (>= 0.18.1, < 2.0)
51
102
  rake (10.5.0)
52
103
  rb-fsevent (0.10.2)
53
104
  rb-inotify (0.9.10)
@@ -67,19 +118,23 @@ GEM
67
118
  rspec-support (~> 3.6.0)
68
119
  rspec-support (3.6.0)
69
120
  ruby_dep (1.5.0)
70
- sequel (4.48.0)
71
121
  shellany (0.0.1)
72
122
  slop (3.6.0)
73
123
  sqlite3 (1.3.13)
74
124
  thor (0.19.4)
125
+ thread_safe (0.3.6)
126
+ tzinfo (1.2.3)
127
+ thread_safe (~> 0.1)
75
128
  yard (0.9.9)
76
129
 
77
130
  PLATFORMS
78
131
  ruby
79
132
 
80
133
  DEPENDENCIES
134
+ activerecord (>= 5.1, < 5.2)
81
135
  bundler (~> 1.12)
82
136
  database_cleaner (~> 1.5, >= 1.5.3)
137
+ generator_spec (~> 0.9.4)
83
138
  guard-rspec
84
139
  mobility!
85
140
  mysql2 (~> 0.3.10)
@@ -87,7 +142,6 @@ DEPENDENCIES
87
142
  pry-byebug
88
143
  rake (~> 10.0)
89
144
  rspec (~> 3.0)
90
- sequel (>= 4.46.0)
91
145
  sqlite3
92
146
  yard (~> 0.9.0)
93
147
 
data/README.md CHANGED
@@ -47,7 +47,7 @@ Installation
47
47
  Add this line to your application's Gemfile:
48
48
 
49
49
  ```ruby
50
- gem 'mobility', '~> 0.2.1'
50
+ gem 'mobility', '~> 0.2.2'
51
51
  ```
52
52
 
53
53
  Mobility is cryptographically signed. To be sure the gem you install hasn't
@@ -41,6 +41,9 @@ jsonb).
41
41
  end
42
42
  include method_overrides
43
43
  include Mobility::Sequel::ColumnChanges.new(attributes)
44
+
45
+ plugin :defaults_setter
46
+ attributes.each { |attribute| default_values[attribute.to_sym] = {} }
44
47
  end
45
48
  end
46
49
  end
@@ -1,3 +1,3 @@
1
1
  module Mobility
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobility
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Salzberg
@@ -30,7 +30,7 @@ cert_chain:
30
30
  eGDROPZoL5RXwiOnRbexxa7dcAxMrDfGB/hpiunIPWPsi4n5P7K/6OO/sGVMl9xv
31
31
  SZBPXjzrHdyOFLBYXB+PG7s3F/4=
32
32
  -----END CERTIFICATE-----
33
- date: 2017-08-20 00:00:00.000000000 Z
33
+ date: 2017-08-23 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: request_store
metadata.gz.sig CHANGED
Binary file