appsignal 0.8.4 → 0.8.5
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 +8 -8
- data/CHANGELOG.md +3 -0
- data/lib/appsignal/cli.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/cli_spec.rb +22 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTNlMjI4MGEyYWZkNTRkZjg0Yjk2ZWQwOTA5NmIyNWVkYTU1OTZkOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2VlMDdmMjcwMzA5MTUxZTM0ODk1YjA2NGVlNmUzZTM4ZTI3NDljYw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDRiZTM2NjU1NjY5OGZkZDY2NDExYjEwZTU1YmRmMTQ2YTFhZmM0YWJhMDQ0
|
10
|
+
ZmZlNWEzMTc0ZTc4N2M2ZTM0ZTU5NmQ3MjU0ZDNlM2I5MTE1ZmVmZWRhZmIy
|
11
|
+
YTI2MjhhZTIyZDdmN2U4OWFmMjMxMmU2ZDY4MTA4OGZjNDdjMDA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWIxN2NlNjc3ZmEzZGQ1ZTEyMmMzYzdlYTUxMGI2MTc4NGFjN2Q2Mzk1YTE0
|
14
|
+
MmYxYWMxNzlhMWY3MDdiNTkzODQxZjJiMTAyMThlYjA2NWE2YzZlNGFhMzMz
|
15
|
+
NTEwMmVjMjg2ZWI5ZGM4Njc4OGNlOGY1ZjY1N2JhNThkNWE3MTg=
|
data/CHANGELOG.md
CHANGED
data/lib/appsignal/cli.rb
CHANGED
data/lib/appsignal/version.rb
CHANGED
@@ -63,7 +63,7 @@ describe Appsignal::CLI do
|
|
63
63
|
it "should validate that the config has been loaded and all options have been supplied" do
|
64
64
|
cli.should_receive(:validate_config_loaded)
|
65
65
|
cli.should_receive(:validate_required_options).with(
|
66
|
-
[:revision, :
|
66
|
+
[:revision, :user, :environment]
|
67
67
|
)
|
68
68
|
Appsignal::Marker.should_receive(:new).and_return(double(:transmit => true))
|
69
69
|
|
@@ -91,6 +91,27 @@ describe Appsignal::CLI do
|
|
91
91
|
'--environment=production'
|
92
92
|
])
|
93
93
|
end
|
94
|
+
|
95
|
+
it "should notify of a deploy without repository" do
|
96
|
+
marker = double
|
97
|
+
Appsignal::Marker.should_receive(:new).with(
|
98
|
+
{
|
99
|
+
:revision => 'aaaaa',
|
100
|
+
:repository => nil,
|
101
|
+
:user => 'thijs'
|
102
|
+
},
|
103
|
+
kind_of(Appsignal::Config),
|
104
|
+
kind_of(Logger)
|
105
|
+
).and_return(marker)
|
106
|
+
marker.should_receive(:transmit)
|
107
|
+
|
108
|
+
cli.run([
|
109
|
+
'notify_of_deploy',
|
110
|
+
'--revision=aaaaa',
|
111
|
+
'--user=thijs',
|
112
|
+
'--environment=production'
|
113
|
+
])
|
114
|
+
end
|
94
115
|
end
|
95
116
|
|
96
117
|
# protected
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2014-01-
|
15
|
+
date: 2014-01-17 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|