unversioned_gem_flowdock 1.0.0 → 1.0.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 +4 -4
- data/README.md +1 -1
- data/lib/rubygems_plugin.rb +5 -4
- data/unversioned_gem_flowdock.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbfe4d55569151ebdb143a9fbb9f628fe60f067d
|
4
|
+
data.tar.gz: 105b282446133ec2c0525aaa1cc7586952909be2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96bdd4f7fc51be8d715d709d4e039a7af55d1623c6fb56ed31f94dd674b153065392e14dca3f25d4fe56d08e94680af2b07a8378df728852abfca3bba25255a6
|
7
|
+
data.tar.gz: 2ae016ea798d77aef2ebe41ae08aaf9c83a4adb07ef1f56faefb6df84c60028d100d6cf6bd09a1280ba2a4bc5740827f9e69ca2cbe7eb2a92ec4e649ad29a086
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ Indicates the _full_ path to an alternative ERB template that may be used to for
|
|
28
28
|
|
29
29
|
```
|
30
30
|
**<%= hostname -%>** tried to install gem **<%= name -%>** without specifying a version.
|
31
|
-
RubyGems chose
|
31
|
+
RubyGems chose **<%= version %> automatically**. If you do not want to keep seeing this
|
32
32
|
message or performing an emergency fix in the future then please consider locating the
|
33
33
|
install and providing a version pinning
|
34
34
|
```
|
data/lib/rubygems_plugin.rb
CHANGED
@@ -61,9 +61,10 @@ module GemFlow
|
|
61
61
|
end
|
62
62
|
|
63
63
|
Gem.pre_unversioned_install do |name, version|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
64
|
+
if (flow = GemFlow.flow)
|
65
|
+
hostname = GemFlow.hostname
|
66
|
+
message = GemFlow.template.result(binding)
|
67
|
+
NoDepFlowdock.chat_message(flow, message, 'RubyGems', 'rubygems', 'version')
|
68
|
+
end
|
68
69
|
true
|
69
70
|
end
|
@@ -9,7 +9,7 @@ $LOAD_PATH.merge! [File.expand_path('../lib', __FILE__)]
|
|
9
9
|
Gem::Specification.new do |spec|
|
10
10
|
raise 'RubyGems 2.0 or newer is required.' unless spec.respond_to?(:metadata)
|
11
11
|
spec.name = 'unversioned_gem_flowdock'
|
12
|
-
spec.version = '1.0.
|
12
|
+
spec.version = '1.0.1'
|
13
13
|
spec.authors = ['Andrew Smith']
|
14
14
|
spec.email = ['andrew.smith at moneysupermarket.com']
|
15
15
|
|