ext 1.0.5 → 1.0.6
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.
- data/CHANGELOG +3 -0
- data/lib/externals/ext.rb +1 -1
- data/lib/externals/scms/git_project.rb +3 -0
- data/test/test_svn_branches.rb +6 -0
- metadata +3 -3
data/CHANGELOG
CHANGED
data/lib/externals/ext.rb
CHANGED
@@ -9,7 +9,7 @@ Dir.entries(File.join(File.dirname(__FILE__), 'extensions')).each do |extension|
|
|
9
9
|
end
|
10
10
|
|
11
11
|
module Externals
|
12
|
-
VERSION = '1.0.
|
12
|
+
VERSION = '1.0.6'
|
13
13
|
PROJECT_TYPES_DIRECTORY = File.join(File.dirname(__FILE__), '..', 'externals','project_types')
|
14
14
|
|
15
15
|
# Full commands operate on the main project as well as the externals
|
@@ -138,6 +138,7 @@ module Externals
|
|
138
138
|
def ex *args
|
139
139
|
do_clone "ex", "--depth 1"
|
140
140
|
|
141
|
+
puts "Exporting #{path}..."
|
141
142
|
change_to_branch_revision "ex"
|
142
143
|
end
|
143
144
|
|
@@ -166,6 +167,8 @@ module Externals
|
|
166
167
|
path
|
167
168
|
end
|
168
169
|
|
170
|
+
puts "Updating #{path}..."
|
171
|
+
|
169
172
|
if !File.exists? project_path
|
170
173
|
do_clone command
|
171
174
|
end
|
data/test/test_svn_branches.rb
CHANGED
@@ -72,6 +72,9 @@ module Externals
|
|
72
72
|
assert !File.exists?(File.join(%w(vendor plugins ssl_requirement)))
|
73
73
|
assert !File.exists?(File.join(%w(vendor plugins empty_plugin)))
|
74
74
|
|
75
|
+
#let's run update. This can expose certain errors.
|
76
|
+
Ext.run "update"
|
77
|
+
|
75
78
|
`svn switch #{[source, "branches", "new_branch"].join("/")}`
|
76
79
|
unless $? == 0
|
77
80
|
raise
|
@@ -117,6 +120,9 @@ module Externals
|
|
117
120
|
assert File.read(File.join('modules', 'modules.txt')) =~
|
118
121
|
/line 2 of modules.txt ... this is branch2!/
|
119
122
|
|
123
|
+
#let's run update. This can expose certain errors.
|
124
|
+
Ext.run "update"
|
125
|
+
|
120
126
|
`svn switch #{[source, "current"].join("/")}`
|
121
127
|
ext = Ext.new
|
122
128
|
main_project = ext.main_project
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 6
|
10
|
+
version: 1.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Miles Georgi
|