conflict_free_schema 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
  SHA256:
3
- metadata.gz: 65dd602a264a1ea9cfa015453ed0900eded7695b999b8e6d337c888a0b65508e
4
- data.tar.gz: 2c6656c296c93327c1e6522354bce75bb8d167f7bcec85e73d112ef9c1c5f6b8
3
+ metadata.gz: fc315c6a4363efa8e1d8196de883160ff2d5291d3863f50a7b510efffc4803a5
4
+ data.tar.gz: 59cdb6d324cc4b1bd35eacb095390f6a50bedfd802eb4ad2076d7f34d46d8338
5
5
  SHA512:
6
- metadata.gz: 56cf7aa6bf7ffbb148d58ddb72332e0d9fc4afbd2e9b52fcdd2850a377d241f9784ab6c0e8b44f7554a0364cf3e54dea346cb2b168466e7551985b39b036906b
7
- data.tar.gz: 935c49c912879ca8ee86aff19fdb83c55136ac82ccc2511000392aa18188e8b71c7b8b1146d7ab77ae3fbcbceb4010feaa8b2f62b028d6a7e41fc42ca6812763
6
+ metadata.gz: fc78558084a076a4538a31fbddaea733c2f24636102e9f44fc5348f66169cebdd7073feabfc08e940504ea5970c44e946b7b682c7fd552c738cc039c965d0b94
7
+ data.tar.gz: b4e877cf7770bdd5c29ed80d79051b1329e27300d67e28f7d912b52e4fb5cec003354d9eabf39add0509811322f0b899d7949e127a78546caf95e71a6e2c8136
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.1.1
2
+
3
+ - explicitly declares files for gem package
4
+ - properly require at least 6.x version of Rails (if anyone is interested in Rails 5.2 - #1 might be a good start)
5
+
1
6
  ### 0.1.0
2
7
 
3
8
  - Initial release
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conflict_free_schema
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
  - Rafal Wojsznis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-20 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '5'
33
+ version: '6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '5'
40
+ version: '6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,30 +56,30 @@ dependencies:
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.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.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.10'
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.10'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: appraisal
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -102,16 +102,10 @@ executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
- - ".gitignore"
106
- - Appraisals
107
105
  - CHANGELOG.md
108
- - Dockerfile
109
- - Gemfile
110
106
  - LICENSE.txt
111
107
  - README.md
112
108
  - Rakefile
113
- - conflict_free_schema.gemspec
114
- - docker-compose.yml
115
109
  - lib/conflict_free_schema.rb
116
110
  - lib/conflict_free_schema/database/postgresql_adapter/dump_schema_version_mixin.rb
117
111
  - lib/conflict_free_schema/database/postgresql_database_tasks/load_schema_version_mixin.rb
@@ -139,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
133
  - !ruby/object:Gem::Version
140
134
  version: '0'
141
135
  requirements: []
142
- rubygems_version: 3.0.3
136
+ rubygems_version: 3.2.5
143
137
  signing_key:
144
138
  specification_version: 4
145
139
  summary: Conflict-free schema version handling
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- .DS_Store
2
- .idea/
3
- .rspec_status
4
- Gemfile.lock
5
- gemfiles/*.lock
6
- log/
7
- structure.sql
8
- .bundle/
data/Appraisals DELETED
@@ -1,7 +0,0 @@
1
- appraise "rails-6.0" do
2
- gem "rails", "6.0.3.5"
3
- end
4
-
5
- appraise "rails-6.1" do
6
- gem "rails", "6.1.3"
7
- end
data/Dockerfile DELETED
@@ -1,22 +0,0 @@
1
- FROM ruby:2.6.6-buster
2
-
3
- ENV BUNDLE_JOBS=4 \
4
- BUNDLE_RETRY=5
5
-
6
- WORKDIR /app
7
-
8
- RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \
9
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
10
- apt-get update && apt-get install --no-install-recommends -y \
11
- postgresql-client-12 \
12
- && rm -rf /var/lib/apt/lists/*
13
-
14
- COPY Gemfile Gemfile.lock conflict_free_schema.gemspec ./
15
-
16
- ENV BUNDLE_VERSION=2.0.2
17
-
18
- RUN gem update --system && gem install bundler:$BUNDLE_VERSION
19
- RUN bundle install
20
-
21
- COPY Appraisals ./
22
- RUN bundle exec appraisal install
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in conflict-free-schema.gemspec
4
- gemspec
@@ -1,32 +0,0 @@
1
- Gem::Specification.new do |spec|
2
- spec.name = "conflict_free_schema"
3
- spec.version = "0.1.0"
4
- spec.authors = ["Rafal Wojsznis"]
5
- spec.email = ["wojsznis@pm.me"]
6
-
7
- spec.summary = "Conflict-free schema version handling"
8
- spec.description = "Remove conflicts from structure.sql that are caused by tracking the schema_migrations.versions information."
9
- spec.homepage = "https://github.com/stolen-ruby/conflict-free-schema"
10
- spec.license = "MIT"
11
-
12
- spec.metadata["homepage_uri"] = spec.homepage
13
- spec.metadata["source_code_uri"] = "https://github.com/stolen-ruby/conflict-free-schema"
14
- spec.metadata["changelog_uri"] = "https://github.com/stolen-ruby/conflict_free_schema/blob/main/CHANGELOG.md"
15
-
16
- # Specify which files should be added to the gem when it is released.
17
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(\.github|spec|docker|gemfiles|bin)/}i) }
20
- end
21
- spec.bindir = "exe"
22
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
- spec.require_paths = ["lib"]
24
-
25
- spec.add_dependency "pg"
26
- spec.add_dependency "rails", "> 5"
27
-
28
- spec.add_development_dependency "bundler", "~> 2.0"
29
- spec.add_development_dependency "rake", "~> 10.0"
30
- spec.add_development_dependency "rspec", "~> 3.0"
31
- spec.add_development_dependency "appraisal"
32
- end
data/docker-compose.yml DELETED
@@ -1,37 +0,0 @@
1
- version: "3"
2
- services:
3
- ruby:
4
- build:
5
- context: .
6
- dockerfile: Dockerfile
7
- image: conflict_free_schema
8
- environment:
9
- BOOTSNAP_CACHE_DIR: /usr/local/bundle/_bootsnap
10
- HISTFILE: /app/log/.bash_history
11
- PSQL_HISTFILE: /app/log/.psql_history
12
- depends_on:
13
- postgres:
14
- condition: service_healthy
15
- volumes:
16
- - .:/app:cached
17
- tmpfs:
18
- - /tmp
19
- stdin_open: true
20
- tty: true
21
- postgres:
22
- image: postgres:12.5-alpine
23
- volumes:
24
- - postgres:/var/lib/postgresql/data
25
- - ./log:/root/log:cached
26
- environment:
27
- POSTGRES_PASSWORD: postgres
28
- POSTGRES_USER: postgres
29
- POSTGRES_DB: conflict_free_schema
30
- PSQL_HISTFILE: /root/log/.psql_history
31
- healthcheck:
32
- test: pg_isready -U postgres -h 127.0.0.1
33
- interval: 10s
34
- timeout: 3s
35
-
36
- volumes:
37
- postgres: