overapp 0.3.0 → 0.3.1

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWIyODU5Y2M4OWMyZTJkMzFmMDBjNGI3NDZhMmZlZGJhOTVkMDBhYQ==
4
+ YTE3YjQ3MTdlYmU0OTBiN2YzY2I2NGM0YTViYjQ3Njc2MDc2NjUzMg==
5
5
  data.tar.gz: !binary |-
6
- NjA3Mjg0ZmFlNGVhMDgxNjc3NDFkMWM0Yjk3MTBiMDAyZDBkYWViYw==
6
+ M2JkZDVkNmM3ODVmNzIzODc2MGI0YmRlODAwODU1YzFjOWRjNDVmMg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzU1NTQ4MTVkMTRiYWM3ZmRlOTU5ZWQ1YjE0NWIyMzA0YjI2ZDk5MjJmMmVm
10
- ZTVlYjRkYTcwMTJkOWU0NjQzODg2ZDIxNTA3ZWFkNjBlMGY2ZWFjODg1ZGZm
11
- MjBlMDExY2YxYmJjY2MzYWUxMzU1Y2RmNDkyZjljZWEzYTFhYjA=
9
+ ZTM5NDliOTc3MjBhOGMwZDM5N2RiOTliOTNmZDM0Njg5ZTY3NzJiMmRiYjk4
10
+ ZGNjZTQ1MGVlMzc1YmE2M2FhYWVkZTUzZWFhYjUyYTgwNzZlYTU3NjUxMWZh
11
+ MjcyZDNkZDk0MTI5ZDkzNjIxNmU1MTdlYjdiNzhlYWE5MmU0OTA=
12
12
  data.tar.gz: !binary |-
13
- YjcwMWZiODA2ZmMyZjY4ZTMyZjJiYjlmYjg3ZGQxZGVlMGM1N2UxOTQ5NWIy
14
- NmJlNDMwNzNhMzgyYzcwZWIyYTJlZTg1NzU4NzE0ODk0YmRjNjE0YTM4MzNl
15
- NmMwMDVlZGY3Y2I1YWYzMzZkNGE1OTA4NTkzNzJkYjYyMTVjZWM=
13
+ MDA2MDNhNDUwZjkxNTc1YjVkNGVjMmQ0MTllZDYwNWJhNjhlNmQzYTljZjcz
14
+ ODNkMjkxMzUxYTU3YzY0NzUwOWM4YzlkZjczMWZmNTcyNWEwYWQyMjdkNWU3
15
+ MTU2YmUwMDNlNDQzNDU0M2ZmYjYzZDU0MDk1NzUxMWNmMWVlNzc=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/lib/overapp/files.rb CHANGED
@@ -64,7 +64,7 @@ module Overapp
64
64
  raise "bad #{descriptor}" if descriptor.blank?
65
65
  if ops[:type] == :command
66
66
  load_command(descriptor,ops)
67
- elsif descriptor =~ /\.git/
67
+ elsif descriptor =~ /\.git/ || descriptor =~ /file:\/\//
68
68
  load_repo(descriptor)
69
69
  else
70
70
  load_dir(descriptor,ops)
@@ -79,6 +79,7 @@ module Overapp
79
79
  end
80
80
 
81
81
  def load_repo(url)
82
+ url = url.gsub "ROOT_DIR", File.expand_path(File.dirname(__FILE__) + "/../..")
82
83
  dir = "/tmp/#{rand(1000000000000000000)}"
83
84
  ec "git clone #{url} #{dir} 2>&1", :silent => true
84
85
  load dir
data/lib/overapp.rb CHANGED
@@ -32,7 +32,7 @@ module Overapp
32
32
  end
33
33
 
34
34
  def ec(cmd,ops={})
35
- `#{cmd}`
35
+ MharrisExt.ec(cmd,ops)
36
36
  end
37
37
  end
38
38
  end
data/overapp.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "overapp"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mike Harris"]
12
- s.date = "2013-11-07"
12
+ s.date = "2013-11-11"
13
13
  s.description = "overapp"
14
14
  s.email = "mharris717@gmail.com"
15
15
  s.executables = ["overapp"]
@@ -1 +1 @@
1
- c.base "file:///code/orig/fs_template/spec/input/repo/.git"
1
+ c.base "file://ROOT_DIR/spec/input/repo"
@@ -183,18 +183,19 @@ describe "write project" do
183
183
  end
184
184
  end
185
185
 
186
- describe "from combined" do
187
- before do
188
- Overapp::Files.write_combined repo_dir,overapp_dir,output_dir
189
- end
190
-
191
- it 'has README' do
192
- files_equal repo_dir, output_dir, "README.md"
193
- end
194
-
195
- it 'has .abc' do
196
- files_equal repo_dir, output_dir, ".abc"
186
+ if false
187
+ describe "from combined" do
188
+ before do
189
+ Overapp::Files.write_combined repo_dir,overapp_dir,output_dir
190
+ end
191
+
192
+ it 'has README' do
193
+ files_equal repo_dir, output_dir, "README.md"
194
+ end
195
+
196
+ it 'has .abc' do
197
+ files_equal repo_dir, output_dir, ".abc"
198
+ end
197
199
  end
198
-
199
200
  end
200
201
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Harris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-07 00:00:00.000000000 Z
11
+ date: 2013-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mharris_ext