mina-padrino 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
  SHA1:
3
- metadata.gz: ab3f6239772d2ae77a379851ebb42482208e35d6
4
- data.tar.gz: 5b36e07fcb38379a4692747a7ef41f6b0ffef896
3
+ metadata.gz: ceb432e7432781d24348f1728e038306e8c4c58f
4
+ data.tar.gz: 794b5e63462893dfa471d5a5cb9847a38b05fbc5
5
5
  SHA512:
6
- metadata.gz: cdf304984ef1cd31dda1829a86dabb633b8d0dff2a5017e121d032418e45b10d5b167e4531e296a65a951da854455d939790f397843628bddf230be8b5e61cf5
7
- data.tar.gz: 844913531c829c1b018f8ef122d9fec1562cd632df93aeddfd796b835dfd34b4520685b9f43ef9a59beace0707c67897804214010c5c98a513505acb09fb4f2c
6
+ metadata.gz: 32b88d1032dd937df8e3bbff0bd0b505f8ba2eb6d79dd81816516b5177ce5f6b73ea3ca1b1d55153aab5f7af468467a91f4c053f0e521e77d284549ebbef00f9
7
+ data.tar.gz: 75aacecfa7b1a65f0cc3498739e49260c070328b9a28bf3884268e11f86c894a7f40357b9d94ce426aa76fb926f94092536b43d894687d0450787330e3e93fbd
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.1.1 / 2015-06-15
2
+
3
+ * Fixed a typo in `padrino:db:migrate`.
4
+
1
5
  ### 0.1.0 / 2015-06-15
2
6
 
3
7
  * Initial release:
@@ -1,18 +1,5 @@
1
1
  require 'mina/padrino/core'
2
2
 
3
- # Macro used later by :rake, etc
4
- make_run_task = lambda { |name, sample_args|
5
- task name, [:arguments] => :environment do |t, args|
6
- arguments = args[:arguments]
7
- command = send name
8
- unless arguments
9
- puts %{You need to provide arguments. Try: mina "#{name}[#{sample_args}]"}
10
- exit 1
11
- end
12
- queue echo_cmd %[cd "#{deploy_to!}/#{current_path!}" && #{command} #{arguments}]
13
- end
14
- }
15
-
16
3
  namespace :padrino do
17
4
  namespace :db do
18
5
  # ### padrino:db:migrate
@@ -21,7 +8,7 @@ namespace :padrino do
21
8
  in_current_dir do
22
9
  queue %{
23
10
  echo "-----> Migrating database"
24
- #{echo_cmd %[#{cd_current} && #{rake} db:migrate]}
11
+ #{echo_cmd %[#{rake} db:migrate]}
25
12
  }
26
13
  end
27
14
  end
@@ -1,6 +1,6 @@
1
1
  module Mina
2
2
  module Padrino
3
3
  # mina-padrino version
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-padrino
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
  - Postmodern
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  requirements: []
87
87
  rubyforge_project:
88
- rubygems_version: 2.4.7
88
+ rubygems_version: 2.2.3
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: mina tasks for padrino