capistrano-env 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e00329dc244bee9eadc29d79b75fa4cd7849fd4a
4
- data.tar.gz: 84cc3f90598ab776c95b438da25a3aad4f627751
3
+ metadata.gz: 2502fa22722fd939a46d3ce60c089e6b9f0a23cf
4
+ data.tar.gz: e0812b39e9b99ad778d2ccf2c225ac5de6499370
5
5
  SHA512:
6
- metadata.gz: 0663b3e41ee6beb0e1bccff277399a6b70c8500c1853efec0f1ef84b1c48dd75baa239c51ac8269e83da6702a59c6bf2a179dd7448d6e7cb198589728ef81603
7
- data.tar.gz: e165280f0e65a3f9cedca071e7780b481319db8600f88951a854335d04de3289beaea27aa8f261cd1185d397ca08f68a9fd29fcd876823893b96372d330d88b3
6
+ metadata.gz: 40555019512f31cb53fff4c4f3757fb47139dc05ddf82f3de311a8e57c8ded86cb74158ccf385938da73dbfeccafef555cdae33350df62b3d85c6c166767b501
7
+ data.tar.gz: 3fa5724184c5e381f0e2eb2d2ae4cabb671c544c34edf803c94b45c133be2be36df2d476bbd16bee0b260b27a55bd04ba9f71a0be801ee9716b3488172e3bb0a
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in capistrano-env.gemspec
4
4
  gemspec
5
5
 
6
- group :development do
6
+ group :development, :test do
7
7
  gem 'guard'
8
8
  gem 'guard-rspec'
9
9
  gem 'pry'
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rspec"
26
26
  spec.add_development_dependency "rspec-rails", '~> 3.0.0.beta'
27
27
  spec.add_development_dependency "sqlite3"
28
- spec.add_development_dependency "capistrano"
28
+ spec.add_development_dependency "capistrano", '~> 2'
29
29
  end
@@ -23,4 +23,4 @@ module Capistrano
23
23
  end
24
24
  end
25
25
 
26
- Capistrano.plugin :capenv, Capistrano::Env::Plugin
26
+ Capistrano.plugin :capenv, Capistrano::Env::Plugin if Capistrano.respond_to?(:plugin)
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Env
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -7,7 +7,6 @@ module Capistrano
7
7
  end
8
8
  end
9
9
 
10
- require "capistrano"
11
10
  require "capistrano/env/plugin"
12
11
  require "capistrano/env/config"
13
12
  require "capistrano/env/railtie" if defined? Rails
@@ -1,4 +1,5 @@
1
1
  require 'spec_helper'
2
+ require 'capistrano'
2
3
 
3
4
  describe Capistrano::Env::Plugin do
4
5
  let(:capistrano) { Capistrano::Configuration.new }
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
2
 
3
+ require 'capistrano'
4
+
3
5
  ENV['RAILS_ENV'] ||= 'test'
4
6
  require File.expand_path("../dummy/config/environment", __FILE__)
5
7
  require 'rspec/rails'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - masarakki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-25 00:00:00.000000000 Z
11
+ date: 2013-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -104,16 +104,16 @@ dependencies:
104
104
  name: capistrano
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - '>='
107
+ - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: '0'
109
+ version: '2'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ~>
115
115
  - !ruby/object:Gem::Version
116
- version: '0'
116
+ version: '2'
117
117
  description: capistrano with environments
118
118
  email:
119
119
  - masaki@hisme.net
@@ -270,4 +270,3 @@ test_files:
270
270
  - spec/dummy/vendor/assets/javascripts/.keep
271
271
  - spec/dummy/vendor/assets/stylesheets/.keep
272
272
  - spec/spec_helper.rb
273
- has_rdoc: