standup 0.3.11 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. data/Rakefile +2 -2
  2. data/VERSION +1 -1
  3. data/lib/standup.rb +5 -7
  4. data/standup.gemspec +62 -64
  5. metadata +8 -8
  6. data/.gitignore +0 -3
data/Rakefile CHANGED
@@ -7,8 +7,8 @@ begin
7
7
  gem.name = 'standup'
8
8
  gem.summary = %Q{Standup is an application deployment and infrastructure management tool for Rails and Amazon EC2}
9
9
  gem.email = 'ilia@flamefork.ru'
10
- gem.homepage = 'http://github.com/Flamefork/standup'
11
- gem.authors = ['Ilia Ablamonov', 'Cloud Castle Inc.']
10
+ gem.homepage = 'https://github.com/cloudcastle/standup'
11
+ gem.authors = ['Ilia Ablamonov', 'Artem Orlov', 'Cloud Castle Inc.']
12
12
 
13
13
  gem.add_dependency 'trollop', '>= 1.16'
14
14
  gem.add_dependency 'activesupport', '>= 3.0'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.11
1
+ 0.3.12
data/lib/standup.rb CHANGED
@@ -31,23 +31,20 @@ module Standup
31
31
  def self.scripts
32
32
  unless class_variable_defined? :@@scripts
33
33
  @@scripts = {}
34
- loaded = Set.new
35
- [local_scripts_path, gem_scripts_path].each do |dir|
34
+ [gem_scripts_path, local_scripts_path].each do |dir|
36
35
  Dir.foreach dir do |name|
37
36
  next unless File.file? "#{dir}/#{name}"
38
37
  next unless name =~ /\.rb$/
39
- next if loaded.include? name
40
38
  load "#{dir}/#{name}", true
41
- loaded << name
42
39
  end if dir && File.exists?(dir)
43
40
  end
44
41
  end
45
42
  @@scripts
46
43
  end
47
-
44
+
48
45
  def self.script type = :node, &block
49
46
  name = block.__file__.match(/([^\/]*)\.rb$/)[1]
50
- superclass = case type
47
+ superclass = scripts[name] || case type
51
48
  when :node
52
49
  Scripts::Node
53
50
  when :local
@@ -57,10 +54,11 @@ module Standup
57
54
  end
58
55
  script_class = Class.new(superclass, &block)
59
56
  script_class.name = name
57
+ Standup::Scripts.send(:remove_const, name.camelize) if scripts[name]
60
58
  Standup::Scripts.const_set name.camelize, script_class
61
59
  scripts[name] = script_class
62
60
  end
63
-
61
+
64
62
  def self.version
65
63
  File.read(File.expand_path('../../VERSION', __FILE__)).strip
66
64
  end
data/standup.gemspec CHANGED
@@ -1,83 +1,81 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{standup}
8
- s.version = "0.3.11"
8
+ s.version = "0.3.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Ilia Ablamonov", "Cloud Castle Inc."]
12
- s.date = %q{2010-12-07}
11
+ s.authors = ["Ilia Ablamonov", "Artem Orlov", "Cloud Castle Inc."]
12
+ s.date = %q{2010-12-20}
13
13
  s.default_executable = %q{standup}
14
14
  s.email = %q{ilia@flamefork.ru}
15
15
  s.executables = ["standup"]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE",
18
- "README.md"
18
+ "README.md"
19
19
  ]
20
20
  s.files = [
21
- ".gitignore",
22
- "LICENSE",
23
- "README.md",
24
- "Rakefile",
25
- "VERSION",
26
- "bin/standup",
27
- "lib/standup.rb",
28
- "lib/standup/core_ext.rb",
29
- "lib/standup/ec2.rb",
30
- "lib/standup/ec2/base.rb",
31
- "lib/standup/ec2/elastic_ip.rb",
32
- "lib/standup/ec2/instance.rb",
33
- "lib/standup/ec2/security_group.rb",
34
- "lib/standup/ec2/volume.rb",
35
- "lib/standup/node.rb",
36
- "lib/standup/remoting.rb",
37
- "lib/standup/scripts/base.rb",
38
- "lib/standup/scripts/node.rb",
39
- "lib/standup/settings.rb",
40
- "scripts/allocate_ip.rb",
41
- "scripts/appconsole.rb",
42
- "scripts/basics.rb",
43
- "scripts/basics/s3cfg",
44
- "scripts/browse.rb",
45
- "scripts/db_backup.rb",
46
- "scripts/delayed_job.rb",
47
- "scripts/delayed_job/delayed_job_monit.conf",
48
- "scripts/download_db.rb",
49
- "scripts/ec2.rb",
50
- "scripts/generate.rb",
51
- "scripts/generate/script.rb",
52
- "scripts/init.rb",
53
- "scripts/init/standup.yml",
54
- "scripts/localize.rb",
55
- "scripts/monit.rb",
56
- "scripts/monit/monit",
57
- "scripts/monit/monitrc",
58
- "scripts/monit/sshd.conf",
59
- "scripts/mysql.rb",
60
- "scripts/passenger.rb",
61
- "scripts/passenger/nginx",
62
- "scripts/passenger/nginx.conf",
63
- "scripts/passenger/nginx_monit.conf",
64
- "scripts/postgresql.rb",
65
- "scripts/postgresql/pg_hba.conf",
66
- "scripts/postgresql/postgresql.conf",
67
- "scripts/ruby.rb",
68
- "scripts/setup.rb",
69
- "scripts/shell.rb",
70
- "scripts/status.rb",
71
- "scripts/terminate.rb",
72
- "scripts/update.rb",
73
- "scripts/upload_db.rb",
74
- "scripts/watchlog.rb",
75
- "scripts/webapp.rb",
76
- "scripts/webapp/webapp.conf",
77
- "standup.gemspec"
21
+ "LICENSE",
22
+ "README.md",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "bin/standup",
26
+ "lib/standup.rb",
27
+ "lib/standup/core_ext.rb",
28
+ "lib/standup/ec2.rb",
29
+ "lib/standup/ec2/base.rb",
30
+ "lib/standup/ec2/elastic_ip.rb",
31
+ "lib/standup/ec2/instance.rb",
32
+ "lib/standup/ec2/security_group.rb",
33
+ "lib/standup/ec2/volume.rb",
34
+ "lib/standup/node.rb",
35
+ "lib/standup/remoting.rb",
36
+ "lib/standup/scripts/base.rb",
37
+ "lib/standup/scripts/node.rb",
38
+ "lib/standup/settings.rb",
39
+ "scripts/allocate_ip.rb",
40
+ "scripts/appconsole.rb",
41
+ "scripts/basics.rb",
42
+ "scripts/basics/s3cfg",
43
+ "scripts/browse.rb",
44
+ "scripts/db_backup.rb",
45
+ "scripts/delayed_job.rb",
46
+ "scripts/delayed_job/delayed_job_monit.conf",
47
+ "scripts/download_db.rb",
48
+ "scripts/ec2.rb",
49
+ "scripts/generate.rb",
50
+ "scripts/generate/script.rb",
51
+ "scripts/init.rb",
52
+ "scripts/init/standup.yml",
53
+ "scripts/localize.rb",
54
+ "scripts/monit.rb",
55
+ "scripts/monit/monit",
56
+ "scripts/monit/monitrc",
57
+ "scripts/monit/sshd.conf",
58
+ "scripts/mysql.rb",
59
+ "scripts/passenger.rb",
60
+ "scripts/passenger/nginx",
61
+ "scripts/passenger/nginx.conf",
62
+ "scripts/passenger/nginx_monit.conf",
63
+ "scripts/postgresql.rb",
64
+ "scripts/postgresql/pg_hba.conf",
65
+ "scripts/postgresql/postgresql.conf",
66
+ "scripts/ruby.rb",
67
+ "scripts/setup.rb",
68
+ "scripts/shell.rb",
69
+ "scripts/status.rb",
70
+ "scripts/terminate.rb",
71
+ "scripts/update.rb",
72
+ "scripts/upload_db.rb",
73
+ "scripts/watchlog.rb",
74
+ "scripts/webapp.rb",
75
+ "scripts/webapp/webapp.conf",
76
+ "standup.gemspec"
78
77
  ]
79
- s.homepage = %q{http://github.com/Flamefork/standup}
80
- s.rdoc_options = ["--charset=UTF-8"]
78
+ s.homepage = %q{https://github.com/cloudcastle/standup}
81
79
  s.require_paths = ["lib"]
82
80
  s.rubygems_version = %q{1.3.7}
83
81
  s.summary = %q{Standup is an application deployment and infrastructure management tool for Rails and Amazon EC2}
metadata CHANGED
@@ -1,22 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standup
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 11
10
- version: 0.3.11
9
+ - 12
10
+ version: 0.3.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilia Ablamonov
14
+ - Artem Orlov
14
15
  - Cloud Castle Inc.
15
16
  autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2010-12-07 00:00:00 +03:00
20
+ date: 2010-12-20 00:00:00 +03:00
20
21
  default_executable: standup
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
@@ -135,7 +136,6 @@ extra_rdoc_files:
135
136
  - LICENSE
136
137
  - README.md
137
138
  files:
138
- - .gitignore
139
139
  - LICENSE
140
140
  - README.md
141
141
  - Rakefile
@@ -193,12 +193,12 @@ files:
193
193
  - scripts/webapp/webapp.conf
194
194
  - standup.gemspec
195
195
  has_rdoc: true
196
- homepage: http://github.com/Flamefork/standup
196
+ homepage: https://github.com/cloudcastle/standup
197
197
  licenses: []
198
198
 
199
199
  post_install_message:
200
- rdoc_options:
201
- - --charset=UTF-8
200
+ rdoc_options: []
201
+
202
202
  require_paths:
203
203
  - lib
204
204
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- .DS_Store
2
- .idea
3
- pkg