store_schema 1.1.0 → 1.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
  SHA256:
3
- metadata.gz: 8e0d5a3940a73ebbeb967b4911715c13956da65f788e109001d470109e0062a5
4
- data.tar.gz: 23edb9b000020a42596536807f688782dbcd81f66bed585c5b3a7735089d7afb
3
+ metadata.gz: 9674fe591152cafdf110ffc97376b66900d42b92855b58907dfd4feb757f78b1
4
+ data.tar.gz: 77023e550f16f9eddf883720636964233fe5b8b12cf87603a4029777cc050624
5
5
  SHA512:
6
- metadata.gz: b1d01a28c7a68a6dfcb6b6c91b95e2b1e76f35fcd04e827f3ebf24f46acd3f3696d6b1983a7776b71333fd04ec68d2cc0136c263ded640e08248c170a964c970
7
- data.tar.gz: 443ef25604487eebd51c0287be8f7031d8364d6300648dd0926ba1bf3f54dff6b2f160470d0ea898e73171aa1dfb60fdbfa0ff622cfa5ce8a3ab4707f2b6ad41
6
+ metadata.gz: 176810591113c515709967caf3c58ee171a2179e3acb85a241de9f169e11e14fc310b3d716bda2844528fe16a8d2c29bfedeb0798c00880d0993d4529e44bd47
7
+ data.tar.gz: 96d937539d570bf49f93b2810e716c9d6a120e50376e09052417c406cc9b71c058deefb90dd866e72f73580046cb28b0416fc149793402bb413723a10558927b
@@ -1,3 +1,8 @@
1
+ ## v1.1.1
2
+
3
+ * Made all String objects immutable
4
+
5
+
1
6
  ## v1.1.0
2
7
 
3
8
  * Added support for Ruby 2.5 and 2.6
data/README.md CHANGED
@@ -12,9 +12,12 @@ The documentation can be found on [RubyDoc].
12
12
 
13
13
  ### Compatibility
14
14
 
15
- - Ruby (MRI) 2.5 ~ 2.6
15
+ - Ruby 2.5 ~ 2.6
16
16
  - ActiveRecord 5.1 ~ 6.0
17
17
 
18
+ It's likely that all ActiveRecord-supported databases will work.
19
+ However, we currently only test against PostgreSQL, MySQL and SQLite.
20
+
18
21
 
19
22
  ### Installation
20
23
 
@@ -141,6 +144,12 @@ $ cd store_schema
141
144
  $ bundle
142
145
  ```
143
146
 
147
+ Tests are run against the following databases, so be sure they're installed prior to running the tests:
148
+
149
+ * PostgreSQL
150
+ * MySQL
151
+ * SQLite
152
+
144
153
  To run the tests:
145
154
 
146
155
  ```
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module StoreSchema
2
4
  require_relative "store_schema/accessor_definer"
3
5
  require_relative "store_schema/configuration"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class StoreSchema::AccessorDefiner
2
4
 
3
5
  # @return [Class]
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class StoreSchema::Configuration
2
4
 
3
5
  # @return [Symbol]
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class StoreSchema::Converter
2
4
  require_relative "converter/string"
3
5
  require_relative "converter/integer"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class StoreSchema::Converter::Base
2
4
 
3
5
  # @return [Object]
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "base"
2
4
 
3
5
  class StoreSchema::Converter::Boolean < StoreSchema::Converter::Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "base"
2
4
 
3
5
  class StoreSchema::Converter::DateTime < StoreSchema::Converter::Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "base"
2
4
 
3
5
  class StoreSchema::Converter::Float < StoreSchema::Converter::Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "base"
2
4
 
3
5
  class StoreSchema::Converter::Integer < StoreSchema::Converter::Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "base"
2
4
 
3
5
  class StoreSchema::Converter::String < StoreSchema::Converter::Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module StoreSchema::Module
2
4
 
3
5
  def self.included(base)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module StoreSchema
2
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
3
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: store_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van Rooijen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-13 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pg
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: mysql2
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: sqlite3
71
99
  requirement: !ruby/object:Gem::Requirement