dev 1.0.200 → 1.0.201

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 (2) hide show
  1. data/lib/dev/Project.rb +2 -0
  2. metadata +1 -1
@@ -96,6 +96,8 @@ class Project < Hash
96
96
  call=Dev::SystemCall.new("svn info")
97
97
  return "svn" if call.output.include?("Last Changed Date:")
98
98
  return "svn" if File.exists?(".svn")
99
+ call=Dev::SystemCall.new("git status")
100
+ @scm_type="git" if call.output.include?("#")
99
101
  return "git" if File.exists?(".git")
100
102
  return nil
101
103
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.200
4
+ version: 1.0.201
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: