rack-app-sequel 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +62 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +36 -0
- data/Rakefile +6 -0
- data/VERSION +1 -0
- data/Vagrantfile +28 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/config.ru +9 -0
- data/env.sh +1 -0
- data/lib/rack/app/sequel/ext.rb +3 -0
- data/lib/rack/app/sequel/migration/cli.rb +66 -0
- data/lib/rack/app/sequel/migration/template.rb +13 -0
- data/lib/rack/app/sequel/migration.rb +5 -0
- data/lib/rack/app/sequel/version.rb +3 -0
- data/lib/rack/app/sequel.rb +15 -0
- data/rack-app-sequel.gemspec +28 -0
- data/script/database +32 -0
- data/script/vagrant/git.sh +9 -0
- data/script/vagrant/init.sh +8 -0
- data/script/vagrant/make.sh +7 -0
- data/script/vagrant/pg.sh +8 -0
- metadata +125 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 79413e5a30d09c7693e05d5871cebdc14c0a7065
|
4
|
+
data.tar.gz: d007a46258e90f37c4c7146cebda129d90f512dd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 83c625abfcee3f7e1a125fe466c05e88ed0684d69264db366ef227043a9a225dff4906ffba3070e0ef55330c839f294ca4d47a8af8683a76e32f8d1bf95f7cae
|
7
|
+
data.tar.gz: 815de997be8de022d9cc90d1f1bb46036b5ebabe0c89712446c274c6469618ef09296abb8d76e47bf1ba0285d3664b68ab33fcdd1c15d3725f52acd668ddb974
|
data/.gitignore
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/spec/examples.txt
|
9
|
+
/test/tmp/
|
10
|
+
/test/version_tmp/
|
11
|
+
/tmp/
|
12
|
+
|
13
|
+
# Used by dotenv library to load environment variables.
|
14
|
+
# .env
|
15
|
+
|
16
|
+
## Specific to RubyMotion:
|
17
|
+
.dat*
|
18
|
+
.repl_history
|
19
|
+
build/
|
20
|
+
*.bridgesupport
|
21
|
+
build-iPhoneOS/
|
22
|
+
build-iPhoneSimulator/
|
23
|
+
|
24
|
+
## Specific to RubyMotion (use of CocoaPods):
|
25
|
+
#
|
26
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
27
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
28
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
29
|
+
#
|
30
|
+
# vendor/Pods/
|
31
|
+
|
32
|
+
## Documentation cache and generated files:
|
33
|
+
/.yardoc/
|
34
|
+
/_yardoc/
|
35
|
+
/doc/
|
36
|
+
/rdoc/
|
37
|
+
|
38
|
+
## Environment normalization:
|
39
|
+
/.bundle/
|
40
|
+
/vendor/bundle
|
41
|
+
/lib/bundler/man/
|
42
|
+
|
43
|
+
# for a library or gem, you might want to ignore these files since the code is
|
44
|
+
# intended to run in multiple environments; otherwise, check them in:
|
45
|
+
# Gemfile.lock
|
46
|
+
# .ruby-version
|
47
|
+
# .ruby-gemset
|
48
|
+
|
49
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
50
|
+
.rvmrc
|
51
|
+
/.bundle/
|
52
|
+
/.yardoc
|
53
|
+
/Gemfile.lock
|
54
|
+
/_yardoc/
|
55
|
+
/coverage/
|
56
|
+
/doc/
|
57
|
+
/pkg/
|
58
|
+
/spec/reports/
|
59
|
+
/tmp/
|
60
|
+
|
61
|
+
# rspec failure tracking
|
62
|
+
.rspec_status
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at adamluzsi@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# Rack::App::SeQueL
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rack/app/sequel`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'rack-app-db'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install rack-app-db
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Adam Luzsi/rack-app-db. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
data/Rakefile
ADDED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
data/Vagrantfile
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# -*- mode: ruby -*-
|
2
|
+
# vi: set ft=ruby :
|
3
|
+
|
4
|
+
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
5
|
+
# configures the configuration version (we support older styles for
|
6
|
+
# backwards compatibility). Please don't change it unless you know what
|
7
|
+
# you're doing.
|
8
|
+
Vagrant.configure('2') do |config|
|
9
|
+
|
10
|
+
config.vm.provider "virtualbox" do |v|
|
11
|
+
v.name = File.basename(__dir__)
|
12
|
+
end
|
13
|
+
|
14
|
+
config.vm.box = 'jnetocurti/postgresql-9.6_wildfly-10'
|
15
|
+
config.vm.network :forwarded_port, guest: 5432, host: 5432
|
16
|
+
config.vm.network :private_network, ip: '192.168.1.78'
|
17
|
+
|
18
|
+
config.vm.provision 'shell', privileged: true, inline: <<-SHELL
|
19
|
+
set -euo pipefail
|
20
|
+
IFS=$'\n\t'
|
21
|
+
|
22
|
+
sh /vagrant/script/vagrant/init.sh
|
23
|
+
sh /vagrant/script/vagrant/make.sh
|
24
|
+
sh /vagrant/script/vagrant/git.sh
|
25
|
+
sh /vagrant/script/vagrant/pg.sh
|
26
|
+
SHELL
|
27
|
+
|
28
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "rack/app/sequel"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/config.ru
ADDED
data/env.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export DATABASE_URL="postgres://vagrant:vagrant@192.168.1.78/vagrant"
|
@@ -0,0 +1,66 @@
|
|
1
|
+
Rack::App::SeQueL::Migration::CLI = lambda do
|
2
|
+
|
3
|
+
command "db:migrate" do
|
4
|
+
description 'Run migrations'
|
5
|
+
|
6
|
+
option '-v', '--version [TIMESTAMP]', 'set to what db migration version number should db to be set' do |string|
|
7
|
+
options[:version] = string
|
8
|
+
end
|
9
|
+
|
10
|
+
option '--allow-missing-migration-files', 'In some cases, you may want to allow a migration in the database that does not exist in the filesystem' do
|
11
|
+
options[:allow_missing_migration_files] = true
|
12
|
+
end
|
13
|
+
|
14
|
+
option '-m', '--path-to-migration-patches [DIR_PATH]', "set to check what directory should be used for db migrations (default: #{Rack::App::SeQueL::Migration::DEFAULT_DIRECTORY})" do |string|
|
15
|
+
options[:migration_directory] = string
|
16
|
+
end
|
17
|
+
|
18
|
+
action do
|
19
|
+
|
20
|
+
options[:migration_directory] ||= Rack::App::SeQueL::Migration::DEFAULT_DIRECTORY
|
21
|
+
|
22
|
+
Sequel.extension(:migration)
|
23
|
+
db = Rack::App::SeQueL.open_connection
|
24
|
+
db = Sequel.connect(ENV.fetch('DATABASE_URL'))
|
25
|
+
|
26
|
+
migration_config = {}
|
27
|
+
if options[:allow_missing_migration_files]
|
28
|
+
migration_config[:allow_missing_migration_files]= true
|
29
|
+
end
|
30
|
+
|
31
|
+
if options[:version]
|
32
|
+
STDOUT.puts "Migrating to version #{options[:version]}"
|
33
|
+
migration_config[:target]= options[:version].to_i
|
34
|
+
end
|
35
|
+
|
36
|
+
Sequel::Migrator.run(db, options[:migration_directory], migration_config)
|
37
|
+
|
38
|
+
STDOUT.puts('Migration completed')
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
command "db:migration:create" do
|
44
|
+
description 'create migration patch'
|
45
|
+
|
46
|
+
option '-m', '--path-to-migration-patches [DIR_PATH]', "set to check what directory should be used for db migrations (default: #{Rack::App::SeQueL::Migration::DEFAULT_DIRECTORY})" do |string|
|
47
|
+
options[:migration_directory] = string
|
48
|
+
end
|
49
|
+
|
50
|
+
action do |*name_parts|
|
51
|
+
options[:migration_directory] ||= Rack::App::SeQueL::Migration::DEFAULT_DIRECTORY
|
52
|
+
name = name_parts.join('_')
|
53
|
+
|
54
|
+
require 'fileutils'
|
55
|
+
FileUtils.mkdir_p(options[:migration_directory])
|
56
|
+
timestamp = Time.now.to_i
|
57
|
+
filebasename = [timestamp.to_s, name].join('_') + '.rb'
|
58
|
+
file_path = File.join(options[:migration_directory], filebasename)
|
59
|
+
File.write(file_path, Rack::App::SeQueL::Migration::TEMPLATE)
|
60
|
+
|
61
|
+
STDOUT.puts(file_path)
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'sequel'
|
2
|
+
require 'rack/app'
|
3
|
+
module Rack::App::SeQueL
|
4
|
+
|
5
|
+
require 'rack/app/sequel/ext'
|
6
|
+
require 'rack/app/sequel/version'
|
7
|
+
require 'rack/app/sequel/migration'
|
8
|
+
|
9
|
+
def open_connection
|
10
|
+
Sequel.connect(ENV.fetch('DATABASE_URL'))
|
11
|
+
end
|
12
|
+
|
13
|
+
module_function :open_connection
|
14
|
+
|
15
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rack/app/sequel/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rack-app-sequel"
|
8
|
+
spec.version = Rack::App::SeQueL::VERSION
|
9
|
+
spec.authors = ["Adam Luzsi"]
|
10
|
+
spec.email = ["adamluzsi@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{rack-app sequel integration for db migration and modelling}
|
13
|
+
spec.description = %q{rack-app sequel integration for db migration and modelling}
|
14
|
+
spec.homepage = "https://github.com/rack-app/rack-app-sequel"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
+
f.match(%r{^(test|spec|features)/})
|
18
|
+
end
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.14"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
26
|
+
|
27
|
+
spec.add_dependency "sequel", ">= 4.0.0"
|
28
|
+
end
|
data/script/database
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
set -euo pipefail
|
3
|
+
IFS=$'\n\t'
|
4
|
+
|
5
|
+
COMMAND=$1
|
6
|
+
|
7
|
+
function main() {
|
8
|
+
case "$COMMAND" in
|
9
|
+
up) up
|
10
|
+
;;
|
11
|
+
down) down
|
12
|
+
;;
|
13
|
+
destroy) destroy
|
14
|
+
;;
|
15
|
+
*) echo "invalid command: script/database up|down|destroy"
|
16
|
+
;;
|
17
|
+
esac
|
18
|
+
}
|
19
|
+
|
20
|
+
function up() {
|
21
|
+
vagrant up
|
22
|
+
}
|
23
|
+
|
24
|
+
function down() {
|
25
|
+
vagrant suspend
|
26
|
+
}
|
27
|
+
|
28
|
+
function destroy() {
|
29
|
+
vagrant destroy -f
|
30
|
+
}
|
31
|
+
|
32
|
+
main
|
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
if [ ! -f $FLAG_FOLDER/pg ];then
|
4
|
+
sudo -u postgres psql -c "CREATE USER vagrant with PASSWORD 'vagrant';"
|
5
|
+
sudo -u postgres psql -c "CREATE DATABASE vagrant;"
|
6
|
+
sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE vagrant to vagrant;"
|
7
|
+
touch $FLAG_FOLDER/pg
|
8
|
+
fi
|
metadata
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rack-app-sequel
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Adam Luzsi
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sequel
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.0.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.0.0
|
69
|
+
description: rack-app sequel integration for db migration and modelling
|
70
|
+
email:
|
71
|
+
- adamluzsi@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- ".travis.yml"
|
79
|
+
- CODE_OF_CONDUCT.md
|
80
|
+
- Gemfile
|
81
|
+
- LICENSE
|
82
|
+
- README.md
|
83
|
+
- Rakefile
|
84
|
+
- VERSION
|
85
|
+
- Vagrantfile
|
86
|
+
- bin/console
|
87
|
+
- bin/setup
|
88
|
+
- config.ru
|
89
|
+
- env.sh
|
90
|
+
- lib/rack/app/sequel.rb
|
91
|
+
- lib/rack/app/sequel/ext.rb
|
92
|
+
- lib/rack/app/sequel/migration.rb
|
93
|
+
- lib/rack/app/sequel/migration/cli.rb
|
94
|
+
- lib/rack/app/sequel/migration/template.rb
|
95
|
+
- lib/rack/app/sequel/version.rb
|
96
|
+
- rack-app-sequel.gemspec
|
97
|
+
- script/database
|
98
|
+
- script/vagrant/git.sh
|
99
|
+
- script/vagrant/init.sh
|
100
|
+
- script/vagrant/make.sh
|
101
|
+
- script/vagrant/pg.sh
|
102
|
+
homepage: https://github.com/rack-app/rack-app-sequel
|
103
|
+
licenses: []
|
104
|
+
metadata: {}
|
105
|
+
post_install_message:
|
106
|
+
rdoc_options: []
|
107
|
+
require_paths:
|
108
|
+
- lib
|
109
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
requirements: []
|
120
|
+
rubyforge_project:
|
121
|
+
rubygems_version: 2.5.1
|
122
|
+
signing_key:
|
123
|
+
specification_version: 4
|
124
|
+
summary: rack-app sequel integration for db migration and modelling
|
125
|
+
test_files: []
|