kelredd-useful 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
1
+ Capistrano::Configuration.instance.load do
2
+ namespace :gems do
3
+
4
+ desc "Update code, run rails 'rake gems:install'"
5
+ task :install, :roles => :app do
6
+ rake = fetch(:rake, "rake")
7
+ rails_env = fetch(:rails_env, "production")
8
+
9
+ deploy.update_code
10
+ run "cd #{current_release}; #{rake} RAILS_ENV=#{rails_env} gems:install", :pty => false
11
+ end
12
+
13
+ end
14
+ end
@@ -0,0 +1,3 @@
1
+ Dir[File.join(File.dirname(__FILE__), "rails" ,"*.rb")].each do |file|
2
+ require file
3
+ end
@@ -0,0 +1,3 @@
1
+ Dir[File.join(File.dirname(__FILE__), "cap_tasks" ,"*.rb")].each do |file|
2
+ require file
3
+ end
@@ -3,7 +3,7 @@ module Useful
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 4
6
+ TINY = 6
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelredd
@@ -28,6 +28,11 @@ files:
28
28
  - lib/useful/active_record_helpers
29
29
  - lib/useful/active_record_helpers/mysql_migration_helpers.rb
30
30
  - lib/useful/active_record_helpers.rb
31
+ - lib/useful/cap_tasks
32
+ - lib/useful/cap_tasks/rails
33
+ - lib/useful/cap_tasks/rails/gems.rb
34
+ - lib/useful/cap_tasks/rails.rb
35
+ - lib/useful/cap_tasks.rb
31
36
  - lib/useful/rails_extensions
32
37
  - lib/useful/rails_extensions/environment_tests.rb
33
38
  - lib/useful/rails_extensions.rb