strong_versions 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/strong_versions/dependencies.rb +1 -1
- data/lib/strong_versions/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2948e08aad68876155035d029499da973771f8419f2519981c065e8d1a069938
|
4
|
+
data.tar.gz: 85d5cc28abf45e9434ab2d92cb98590874a8a4bc0f2573306594fc5119c08175
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0015b7477c4df28f48c2a7b40c4ea517da1e26a9698f92331db002fd771278341ab38d153eb814d14883d165d4a3465c65aea62e97e3b1c244ccb1014b736013
|
7
|
+
data.tar.gz: 4b2688647749fca796f8d78182abb2e8ff49ea3b225c7fa6befeb4222328ceda0e3319432667743fc40d37fe0fcf2ae2636eb2affba2c5ee489faff3f6de52e2
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ When all gems in a `Gemfile` follow this convention it SHOULD always be safe to
|
|
28
28
|
Add the gem to your `Gemfile`
|
29
29
|
|
30
30
|
```ruby
|
31
|
-
gem 'strong_versions', '~> 0.4.
|
31
|
+
gem 'strong_versions', '~> 0.4.4'
|
32
32
|
```
|
33
33
|
|
34
34
|
And rebuild your bundle:
|
@@ -39,7 +39,7 @@ $ bundle install
|
|
39
39
|
|
40
40
|
Or install yourself:
|
41
41
|
```bash
|
42
|
-
$ gem install strong_versions -v '0.4.
|
42
|
+
$ gem install strong_versions -v '0.4.4'
|
43
43
|
```
|
44
44
|
|
45
45
|
## Usage
|
@@ -87,7 +87,7 @@ module StrongVersions
|
|
87
87
|
def gem_regex(subject, name)
|
88
88
|
{
|
89
89
|
gemfile: /^(\s*)gem\s+['"]#{name}['"].*$/,
|
90
|
-
gemspec: /^(\s*)spec.add_[a-z_]*
|
90
|
+
gemspec: /^(\s*)spec.add_[a-z_]*_?dependency\s+['"]#{name}['"].*$/
|
91
91
|
}.fetch(subject)
|
92
92
|
end
|
93
93
|
|