capistrano-ghostinspector 0.2.0.rc → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f2f6e5c14918854e600a4948d6e89e129dfd678
4
- data.tar.gz: 03e2e2f1195a2592292017e6242236c2ace087ef
3
+ metadata.gz: 30234e4b797a6a5cfe63c41350826bca1dec3cb0
4
+ data.tar.gz: 87ac2f5807a64b752ccebce107fc100a73df3a49
5
5
  SHA512:
6
- metadata.gz: e5ae805e1a27347f674762e6169ab89c41fab16dc32d1caea478de6ebad7eb5c92f320b491898fcb501334e67c6c740e6a67b1f0f7b39df7a8223c265100d5ff
7
- data.tar.gz: 5db5de9ef603a0b8c321246853df5bb35e9c2f6143c356d90947addd4a400446110f65fabed33e5e92dc529bba24c95db93544acc7f6fbe08027d227b333dbf4
6
+ metadata.gz: aa8a90aba72f06af78f400d427f42646eb254d01117c88bc83291b96dd3deccfc0b486ad787df984a901a1409cb19f0edb973ac94f3f05a9299d5c32c3f7f9f9
7
+ data.tar.gz: 7cad68d9aafdf032ce81f43ea335eb3603cd186a1550a9148e888a43c9666f6083b75f770b71ed2f6f5f13556548cfb3a5cd6472594a9609bd6a74c60e97b7d7
data/README.md CHANGED
@@ -11,6 +11,8 @@
11
11
  - Exclude individual stages
12
12
  - Auto rollback to previous version on failed tests (can be disabled in config per stage)
13
13
  - Auto configure start URL to reuse tests across multiple stages
14
+ - Send deployment information to Google Analytics
15
+ - Send errors to Google Analytics on failed tests
14
16
 
15
17
  ## Installation
16
18
 
@@ -42,6 +44,7 @@ First thing you need to do is create your `YAML` file (`gi_config.yaml`) in the
42
44
  APIKEY: XXXXXXXXXXXXXXXXXXX
43
45
  gi_enabled: true
44
46
  rollback: true
47
+ ga_property: ""
45
48
  suites:
46
49
  aboutpage: "XXXXXXXXXXXXXXXXXXX"
47
50
  suite2: ""
@@ -67,26 +70,28 @@ By default the `rollback` feature is enabled, you can disabled this for all stag
67
70
  set :rollback, false
68
71
  ```
69
72
 
73
+ The Google Analytics property must be inserted into the `ga_property` in order to log deployments and errors. Simply update your YAML to include this `ga_property: "UA-XXXXXXXX-1"`. To disable the Google Analytics tracking just leave the `ga_property` as empty string i.e. `ga_property: ""` in your YAML
74
+
70
75
  ## Usage
71
76
 
72
77
  Run a particular test when deploying to staging -
73
78
 
74
- $ cap staging deploy -s gitest=homepage
79
+ $ cap staging deploy -s gitest=homepage
75
80
 
76
81
 
77
82
  Run a multiple tests when deploying to staging -
78
83
 
79
- $ cap staging deploy -s gitest=homepage,test2,test3
84
+ $ cap staging deploy -s gitest=homepage,test2,test3
80
85
 
81
86
 
82
87
  Run a particular suite when deploying to staging -
83
88
 
84
- $ cap staging deploy -s gisuite=aboutpage
89
+ $ cap staging deploy -s gisuite=aboutpage
85
90
 
86
91
 
87
92
  Run a multiple suites when deploying to staging -
88
93
 
89
- $ cap staging deploy -s gisuite=aboutpage,suite2
94
+ $ cap staging deploy -s gisuite=aboutpage,suite2
90
95
 
91
96
 
92
97
  ## Contributing
@@ -9,7 +9,7 @@ module Capistrano
9
9
  tracker = Staccato.tracker(ga_property)
10
10
 
11
11
  # inform GA of a new deployment
12
- tracker.event(category: 'deployment', action: "deploy", label: current_revision, non_interactive: true)
12
+ tracker.event(category: 'deployment', action: 'deploy', label: current_revision, non_interactive: true)
13
13
 
14
14
  end
15
15
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Ghostinspector
3
- VERSION = "0.2.0.rc"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-ghostinspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Richardson
@@ -131,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - ">"
134
+ - - ">="
135
135
  - !ruby/object:Gem::Version
136
- version: 1.3.1
136
+ version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
139
  rubygems_version: 2.4.5