elastic-beanstalk 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/bin/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ # rakefile for external binstubs execution
2
+ gem_dir = File.expand_path('..',File.dirname(__FILE__))
3
+
4
+ # load the rake tasks
5
+ load "#{gem_dir}/lib/elastic/beanstalk/tasks/eb.rake"
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env ruby
2
+ #$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')
3
+ #
4
+ #require 'rubygems'
5
+ #require 'rake'
6
+ #task=ARGV[0]
7
+ #spec = Gem::Specification.find_by_name('elastic-beanstalk')
8
+ #gem_dir = spec.gem_dir
9
+ #puts gem_dir
10
+ #
11
+ #
12
+ ## testing only
13
+ #gem_dir = "/Users/kross/alienfast/elastic-beanstalk"
14
+ #puts gem_dir
15
+ #
16
+ #
17
+ #Dir["#{gem_dir}/lib/elastic/beanstalk/tasks/*.rake"].each do |file|
18
+ # puts file and Rake::load_rakefile(file)
19
+ #end
20
+ #Rake::Task.clear # Avoid tasks being loaded several times in dev mode
21
+ #Rake::Task[task].reenable # Support re-execution of a task.
22
+ #Rake::Task[task].invoke
23
+
24
+ #
25
+ # Example:
26
+ #
27
+ # elastic-beanstalk some-task
28
+ # elastic-beanstalk some-task[args]
29
+ #
30
+
31
+ gem 'elastic-beanstalk'
32
+
33
+ gem_dir = File.expand_path('..',File.dirname(__FILE__))
34
+ $LOAD_PATH.unshift gem_dir# Look in gem directory for resources first.
35
+
36
+ require 'elastic-beanstalk'
37
+ require 'rake'
38
+ require 'pp'
39
+
40
+ pwd=Dir.pwd
41
+ Dir.chdir("#{gem_dir}/bin") # We'll load rakefile from the gem's bin dir.
42
+ Rake.application.init
43
+ Rake.application.load_rakefile
44
+ Dir.chdir(pwd) # Revert to original pwd for any path args passed to task.
45
+
46
+ Rake.application.invoke_task(ARGV[0])
@@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
31
31
 
32
32
  # runtime
33
33
  spec.add_runtime_dependency 'railties', '>= 3.2'
34
- #spec.add_runtime_dependency 'rails' #, '>=3.2.13'
35
34
  spec.add_runtime_dependency 'eb_deployer'
36
35
  spec.add_runtime_dependency 'awesome_print'
37
36
  spec.add_runtime_dependency 'time_diff'
@@ -5,6 +5,7 @@ require 'eb_deployer'
5
5
  require 'time_diff'
6
6
  require 'elastic/beanstalk/config'
7
7
  require 'elastic/beanstalk/extensions'
8
+ require 'yaml'
8
9
 
9
10
  namespace :eb do
10
11
 
@@ -1,5 +1,5 @@
1
1
  module Elastic
2
2
  module Beanstalk
3
- VERSION = '0.1.7'
3
+ VERSION = '0.1.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-beanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -145,7 +145,9 @@ description: ! ' The simplest way to configure and deploy an Elastic Beanstal
145
145
  '
146
146
  email:
147
147
  - kevin.ross@alienfast.com
148
- executables: []
148
+ executables:
149
+ - Rakefile
150
+ - elastic-beanstalk
149
151
  extensions: []
150
152
  extra_rdoc_files: []
151
153
  files:
@@ -155,6 +157,8 @@ files:
155
157
  - LICENSE.txt
156
158
  - README.md
157
159
  - Rakefile
160
+ - bin/Rakefile
161
+ - bin/elastic-beanstalk
158
162
  - elastic-beanstalk.gemspec
159
163
  - lib/deep_symbolize.rb
160
164
  - lib/elastic/beanstalk.rb
@@ -185,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
189
  version: '0'
186
190
  segments:
187
191
  - 0
188
- hash: -1158080329481301492
192
+ hash: -509865312273443585
189
193
  required_rubygems_version: !ruby/object:Gem::Requirement
190
194
  none: false
191
195
  requirements:
@@ -194,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
198
  version: '0'
195
199
  segments:
196
200
  - 0
197
- hash: -1158080329481301492
201
+ hash: -509865312273443585
198
202
  requirements: []
199
203
  rubyforge_project:
200
204
  rubygems_version: 1.8.25