engineyard-serverside-adapter 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +6 -9
- data/lib/engineyard-serverside-adapter/version.rb +1 -1
- metadata +11 -11
data/Rakefile
CHANGED
@@ -20,26 +20,23 @@ task :release do
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def bump_to_latest_serverside
|
23
|
+
specs = Gem::SpecFetcher.fetcher.fetch(Gem::Dependency.new("engineyard-serverside"))
|
24
|
+
versions = specs.map {|spec,| spec.version}.sort
|
25
|
+
new_version = versions.last.to_s
|
26
|
+
|
23
27
|
serverside_version_file =<<-EOT
|
24
28
|
module EY
|
25
29
|
module Serverside
|
26
30
|
class Adapter
|
27
|
-
VERSION = "
|
31
|
+
VERSION = "#{new_version}"
|
28
32
|
end
|
29
33
|
end
|
30
34
|
end
|
31
35
|
EOT
|
32
36
|
|
33
|
-
new_version = `gem search -r engineyard-serverside`.
|
34
|
-
grep(/^engineyard-serverside /).
|
35
|
-
first.
|
36
|
-
match(/\((.*?)\)/).
|
37
|
-
captures.
|
38
|
-
first
|
39
|
-
|
40
37
|
puts "Using engineyard-serverside version #{new_version}"
|
41
38
|
File.open('lib/engineyard-serverside-adapter/version.rb', 'w') do |f|
|
42
|
-
f.write serverside_version_file
|
39
|
+
f.write serverside_version_file
|
43
40
|
end
|
44
41
|
new_version
|
45
42
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-serverside-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 5
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 1
|
10
|
+
version: 1.4.1
|
11
11
|
platform: ruby
|
12
12
|
authors: []
|
13
13
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-17 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -30,8 +30,8 @@ dependencies:
|
|
30
30
|
- 0
|
31
31
|
- 4
|
32
32
|
version: 0.0.4
|
33
|
-
requirement: *id001
|
34
33
|
type: :runtime
|
34
|
+
requirement: *id001
|
35
35
|
name: escape
|
36
36
|
prerelease: false
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -44,8 +44,8 @@ dependencies:
|
|
44
44
|
segments:
|
45
45
|
- 0
|
46
46
|
version: "0"
|
47
|
-
requirement: *id002
|
48
47
|
type: :runtime
|
48
|
+
requirement: *id002
|
49
49
|
name: json_pure
|
50
50
|
prerelease: false
|
51
51
|
- !ruby/object:Gem::Dependency
|
@@ -60,8 +60,8 @@ dependencies:
|
|
60
60
|
- 0
|
61
61
|
- 0
|
62
62
|
version: 1.0.0
|
63
|
-
requirement: *id003
|
64
63
|
type: :development
|
64
|
+
requirement: *id003
|
65
65
|
name: bundler
|
66
66
|
prerelease: false
|
67
67
|
- !ruby/object:Gem::Dependency
|
@@ -76,8 +76,8 @@ dependencies:
|
|
76
76
|
- 3
|
77
77
|
- 0
|
78
78
|
version: 1.3.0
|
79
|
-
requirement: *id004
|
80
79
|
type: :development
|
80
|
+
requirement: *id004
|
81
81
|
name: rspec
|
82
82
|
prerelease: false
|
83
83
|
- !ruby/object:Gem::Dependency
|
@@ -90,8 +90,8 @@ dependencies:
|
|
90
90
|
segments:
|
91
91
|
- 0
|
92
92
|
version: "0"
|
93
|
-
requirement: *id005
|
94
93
|
type: :development
|
94
|
+
requirement: *id005
|
95
95
|
name: rake
|
96
96
|
prerelease: false
|
97
97
|
description: A separate adapter for speaking the CLI language of the engineyard-serverside gem.
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements: []
|
164
164
|
|
165
165
|
rubyforge_project: engineyard-serverside-adapter
|
166
|
-
rubygems_version: 1.
|
166
|
+
rubygems_version: 1.4.2
|
167
167
|
signing_key:
|
168
168
|
specification_version: 3
|
169
169
|
summary: Adapter for speaking to engineyard-serverside
|