seed-fu 2.3.2 → 2.3.3

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: 05e8cbc7d552c919a6e1b4e35442fe50a6252c0e
4
- data.tar.gz: 0e60964ee17d29ef2bdd60efeca10506ac4bb474
3
+ metadata.gz: d2eb8e39152d1417ec9a80cc495bbd02fc441414
4
+ data.tar.gz: 8d695cd7973f01ce0f107bb24108ca1d218c426a
5
5
  SHA512:
6
- metadata.gz: 8decdff95c7bacf3e5e5aab012c70652fac27bf835f1a442fcd2af8865370046809560da7a6e472c25c4688e8eedd91a72b688b29283831b3926487fdc39e6d4
7
- data.tar.gz: da68036bc158f353b2a0191b1e8b8f4a07b9b3576f89be4b6640fdfb378a5de87d26416258aceb7c896952a21ef12d249502cff63b2b350efa1c624b0b7e02d2
6
+ metadata.gz: 1ee3b2a0d03cfb38367be4ab4f0d1da19053926f304219868bdf728e7fc11394bad5c62cf56e1a2b1af80ff3eaad58f9185a2d080b5596c0deb4ea3a95f9a0c9
7
+ data.tar.gz: 185fc86802a8a2cd0fe680e7e94bb4677824541bd658a6979ed9b7554a047e50f9a96ebd93a651d07b850ac60ce48a08f99853be1a17c40dd786aad96442c5d2
@@ -1,3 +1,10 @@
1
+ Version 2.3.3
2
+ -------------
3
+
4
+ Features:
5
+
6
+ * Capistrano v3 support (by @shishi)
7
+
1
8
  Version 2.3.2
2
9
  -------------
3
10
 
data/README.md CHANGED
@@ -149,6 +149,15 @@ require 'seed-fu/capistrano'
149
149
  after 'deploy:update_code', 'db:seed_fu'
150
150
  ```
151
151
 
152
+ If you use Capistrano3, you should require another file.
153
+
154
+ ```ruby
155
+ require 'seed-fu/capistrano3'
156
+
157
+ # Trigger the task before publishing
158
+ before 'deploy:publishing', 'db:seed_fu'
159
+ ```
160
+
152
161
  Bugs / Feature requests
153
162
  -----------------------
154
163
 
@@ -0,0 +1 @@
1
+ load File.expand_path('../../tasks/seed_fu_capistrano3.rake', __FILE__)
@@ -1,4 +1,4 @@
1
1
  module SeedFu
2
2
  # The current version of Seed Fu
3
- VERSION = '2.3.2'
3
+ VERSION = '2.3.3'
4
4
  end
@@ -0,0 +1,12 @@
1
+ namespace :db do
2
+ desc 'Load seed data into database'
3
+ task :seed_fu do
4
+ on roles(:db) do
5
+ within release_path do
6
+ with rails_env: fetch(:rails_env) do
7
+ execute :bundle, :exec, :rake, 'db:seed_fu'
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seed-fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-17 00:00:00.000000000 Z
12
+ date: 2014-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -125,12 +125,14 @@ files:
125
125
  - lib/seed-fu/active_record_extension.rb
126
126
  - lib/seed-fu/block_hash.rb
127
127
  - lib/seed-fu/capistrano.rb
128
+ - lib/seed-fu/capistrano3.rb
128
129
  - lib/seed-fu/railtie.rb
129
130
  - lib/seed-fu/runner.rb
130
131
  - lib/seed-fu/seeder.rb
131
132
  - lib/seed-fu/version.rb
132
133
  - lib/seed-fu/writer.rb
133
134
  - lib/tasks/seed_fu.rake
135
+ - lib/tasks/seed_fu_capistrano3.rake
134
136
  homepage: http://github.com/mbleigh/seed-fu
135
137
  licenses: []
136
138
  metadata: {}