live_fixtures 0.3.1 → 1.0.0

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
- SHA1:
3
- metadata.gz: b30af4bf80a77296eab60dbddfd2ff1240ca52b7
4
- data.tar.gz: 2c24a1898e6ec545603ba57dc8f3c5f674f5169b
2
+ SHA256:
3
+ metadata.gz: 28eb3efe0fc464ccf35c6a42a156623528438ef7253c8d44c64731f006588342
4
+ data.tar.gz: 0ef6a9d067294eda78fc74f5192c860ae4427613feb8ab17f117972011af528e
5
5
  SHA512:
6
- metadata.gz: 39f4ea9917b27ad09739d524d578d5a8cdaa2247b0dc7b78cbdb6873ab30e959be08b88f4570860529cdb99628d1c97d64951b6edb35be2f37ebafdb859910dd
7
- data.tar.gz: a7f9561e6f244a615c4a7df18cd3d6e01fa1774b37c01607577246a5fcb13c67a20235b8544fa970232d36735f53def6a4207238e25dfbb9116f5045387b2d47
6
+ metadata.gz: f3ae95224c87a6bd3e1b8ef4c2c1bb5bce6b761dd720e0bbbdd59c626adc66dc4fd50a97c0c092e73314bf1457a16f03165b79962b119e72af40daa6dc97701d
7
+ data.tar.gz: 95347d531c13835df9fb9198c9695e182c9fc46e62b3cad89864539d8cc76655a2dd0bb06c53929f6c0fa685cde66d79eb758bbad691ccd41effbe496c796ef3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [1.0.0] - 2019-02-15
6
+ ### Breaking changes
7
+ - drop support for rails 4.2, ruby < 2.3
8
+
9
+ ### Fixed
10
+ - support for rails 5
11
+
12
+ ### Added
13
+ - None
14
+
5
15
  ## [0.3.1] - 2018-03-28
6
16
  ### Breaking changes
7
17
  - None
@@ -47,7 +47,7 @@ module LiveFixtures::Export::Fixture
47
47
  attribute_type = model.class.type_for_attribute(name)
48
48
 
49
49
  if attribute_type.is_a?(ActiveRecord::Type::Serialized)
50
- value = attribute_type.type_cast_for_database(value) unless value.is_a?(String)
50
+ value = attribute_type.serialize(value) unless value.is_a?(String)
51
51
 
52
52
  "#{name}: |-\n#{value.to_s.indent(4)}" unless value.nil?
53
53
  elsif value.is_a? LiveFixtures::Export::Reference
@@ -1,3 +1,3 @@
1
1
  module LiveFixtures
2
- VERSION = "0.3.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: live_fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jleven
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-28 00:00:00.000000000 Z
11
+ date: 2019-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: '5.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.2'
26
+ version: '5.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-progressbar
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,56 +44,56 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.11'
47
+ version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.11'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: '12.3'
62
62
  type: :development
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: '10.0'
68
+ version: '12.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.0'
75
+ version: '3.8'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.0'
82
+ version: '3.8'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: temping
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '3.10'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.0'
96
+ version: '3.10'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: byebug
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -112,16 +112,16 @@ dependencies:
112
112
  name: sqlite3
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 1.3.13
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 1.3.13
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: yard
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -185,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
188
- rubyforge_project:
189
- rubygems_version: 2.4.8
188
+ rubygems_version: 3.0.2
190
189
  signing_key:
191
190
  specification_version: 4
192
191
  summary: Tools for exporting and importing between databases managed by ActiveRecord.