framework_identificator 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module FrameworkIdentificator
|
|
9
9
|
raise ArgumentError unless source.class.name == "Pathname" || source.class.name == "Git::Base"
|
10
10
|
|
11
11
|
# Use source itself if Pathname otherwise fetch the Git dir path
|
12
|
-
source = source.
|
12
|
+
source = source.class.name == "Git::Base" ? source.dir.path : source
|
13
13
|
|
14
14
|
# Try to detect a Framework using the source
|
15
15
|
Frameworks.available.detect do |framework|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: framework_identificator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -53,7 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
53
|
version: '0'
|
54
54
|
segments:
|
55
55
|
- 0
|
56
|
-
hash: -
|
56
|
+
hash: -376972895810058699
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
58
|
none: false
|
59
59
|
requirements:
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
segments:
|
64
64
|
- 0
|
65
|
-
hash: -
|
65
|
+
hash: -376972895810058699
|
66
66
|
requirements: []
|
67
67
|
rubyforge_project:
|
68
68
|
rubygems_version: 1.8.24
|