grape_press 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/grape_press/templates/Rakefile.erb +1 -1
- data/lib/grape_press/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d605e4264b655ca16fc1c20653cc5b0f9b679b74
|
4
|
+
data.tar.gz: e026d1b02f59c5120e35f0cae831910f01db49d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf977dd0a09245cb61bea0481636b13ee21721c12970fc068d962b01f9efe08ca573c13d8acf94fcb05bf6d465bf378202a1fc09342251aa3767b6d289d59515
|
7
|
+
data.tar.gz: 66118f8ff4aa456dbdcbca17067c387dee790aa23b5925a3d88e4f99f520c0ec30b5828401ace2f772ddb3f07fa8eaa9a317422d920b7feb9a3979add7ad0541
|
@@ -23,7 +23,7 @@ namespace :db do
|
|
23
23
|
desc 'Create the database in the current GRAPE_ENV'
|
24
24
|
task :create do
|
25
25
|
config = YAML.load(File.read(File.join(APP_ROOT, 'config', 'database.yml')))[GRAPE_ENV.to_s]
|
26
|
-
ActiveRecord::Base.establish_connection config.merge(database:
|
26
|
+
ActiveRecord::Base.establish_connection config.merge(database: 'postgres')
|
27
27
|
ActiveRecord::Base.connection.create_database config['database']
|
28
28
|
ActiveRecord::Base.establish_connection config
|
29
29
|
end
|
data/lib/grape_press/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape_press
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alexpeachey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
149
|
+
rubygems_version: 2.4.2
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Generator for Grape API projects.
|