scout 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG +4 -0
  2. data/Rakefile +16 -9
  3. data/lib/scout.rb +1 -1
  4. data/lib/scout/server.rb +1 -1
  5. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.1.3
2
+
3
+ * Fixed bug with running plugin using the -p option, new ensure wasn't returning the data.
4
+
1
5
  == 1.1.2
2
6
 
3
7
  * Fixed the plugin interval not running on time due to a ">=" bug
data/Rakefile CHANGED
@@ -77,8 +77,23 @@ Rake::GemPackageTask.new(spec) do |pkg|
77
77
  pkg.need_tar = need_zip
78
78
  end
79
79
 
80
+ desc "Publishes to Scout Gem Server and Rubyforge"
81
+ task :publish => [:package, :publish_scout, :publish_rubyforge]
82
+
80
83
  desc "Publish Gem to Scout Gem Server"
81
- task :publish => [:package] do
84
+ task :publish_scout => [:package] do
85
+
86
+ puts "Publishing on Scout Server"
87
+ sh "scp -r pkg/*.gem " +
88
+ "deploy@gems.scoutapp.com:/var/www/gems/gems"
89
+ ssh = Net::SSH.start('gems.scoutapp.com','deploy')
90
+ ssh_shell = ssh.shell.sync
91
+ ssh_out = ssh_shell.send_command "/usr/bin/index_gem_repository.rb -d /var/www/gems"
92
+ puts "Published, and updated gem server." if ssh_out.stdout.empty? && !ssh_out.stderr
93
+ end
94
+
95
+ desc "Publishes Gem to Rubyforge"
96
+ task :publish_rubyforge => [:package] do
82
97
  pkg = "pkg/#{spec.name}-#{version}"
83
98
 
84
99
  if $DEBUG then
@@ -102,14 +117,6 @@ task :publish => [:package] do
102
117
 
103
118
  puts "Releasing #{spec.name} v. #{version}"
104
119
  rf.add_release spec.rubyforge_project, spec.name, version, *files
105
-
106
- puts "Publishing on Scout Server"
107
- sh "scp -r pkg/*.gem " +
108
- "deploy@gems.scoutapp.com:/var/www/gems/gems"
109
- ssh = Net::SSH.start('gems.scoutapp.com','deploy')
110
- ssh_shell = ssh.shell.sync
111
- ssh_out = ssh_shell.send_command "/usr/bin/index_gem_repository.rb -d /var/www/gems"
112
- puts "Published, and updated gem server." if ssh_out.stdout.empty? && !ssh_out.stderr
113
120
  end
114
121
 
115
122
  desc "Upload current documentation to Scout Gem Server and RubyForge"
data/lib/scout.rb CHANGED
@@ -4,5 +4,5 @@ require "scout/plugin"
4
4
  require "scout/server"
5
5
 
6
6
  module Scout
7
- VERSION = "1.1.2".freeze
7
+ VERSION = "1.1.3".freeze
8
8
  end
data/lib/scout/server.rb CHANGED
@@ -136,6 +136,7 @@ module Scout
136
136
  debug "Plugin does not need to be run at this time. " +
137
137
  "(last run: #{last_run || 'nil'})"
138
138
  end
139
+ data
139
140
  ensure
140
141
  debug "Removing plugin code..."
141
142
  begin
@@ -145,7 +146,6 @@ module Scout
145
146
  error "Unable to remove plugin."
146
147
  end
147
148
  info "Plugin #{plugin[:name]} processing complete."
148
- data
149
149
  end
150
150
 
151
151
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Highgroove Studios
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-03-18 00:00:00 -04:00
12
+ date: 2008-03-24 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency