foreman_cockpit 1.0.2 → 1.0.3

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: b2c185a866fa1fc170878ae2bb7fbdd329ec16dd
4
- data.tar.gz: 7dccb1648a3029f60cf68ef9823f879ac1037000
3
+ metadata.gz: 4baa4d3b82252a50c176929dfbd1cc1c87d268f1
4
+ data.tar.gz: 6467ead68e829fdca12f9ad0db71dc2b85335a6a
5
5
  SHA512:
6
- metadata.gz: 5e4e5f59bb9527f6bb472b7277a73488e7ff5e1f646644612967dd4fa9d43bc1fdf9c6c91964e62cc02621bf3e7e85de2ee15267b70f2bb897aaede1e4e1e500
7
- data.tar.gz: 458c42416e20f2a905cb383ba6303ad0972dc242c5c7da19d9af48fe44e29a4408acd8f0766d7154d6328bbb37895fb7c829f307b4933b8ff085e501d6c0f443
6
+ metadata.gz: 33e0a0f230b4a36e03b7ce999e482be82a1bcc397cb46a5992c20e26ed75a4bac31d38c9941ce15cf1a804ae1776d75c33e728a9aa33bf05df8751213a9cb832
7
+ data.tar.gz: dda8dad2632403884771610073165e9fb955be2b1342d96fc4baf7c33229785184878c07e309e7e41079dbdf13f5bb9862c1d3d82087b58453b1ab798b0affcf
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  [![Code Climate](https://codeclimate.com/github/theforeman/foreman_cockpit/badges/gpa.svg)](https://codeclimate.com/github/theforeman/foreman_cockpit)
2
+ [![Gem Version](https://badge.fury.io/rb/foreman_cockpit.svg)](https://badge.fury.io/rb/foreman_cockpit)
2
3
  [![GPL License](https://img.shields.io/github/license/theforeman/foreman_cockpit.svg)](https://github.com/theforeman/foreman_cockpit/blob/master/LICENSE)
3
4
 
4
5
  # Foreman Cockpit :rocket:
@@ -23,9 +24,39 @@ Display [Cockpit](http://cockpit-project.org/) components in [Foreman](http://th
23
24
 
24
25
  ## Installation
25
26
 
26
- #### Packages on the making - please :star: it, watch it, and install from source for the moment.
27
+ If you don't have the Foreman plugins repository set up, please follow the instructions in the manual:
27
28
 
28
- **TODO - Add to manual, package and release**
29
+ * [Foreman: Plugin repo installation](http://theforeman.org/plugins/#2.2Packageinstallation)
30
+
31
+ ### Red Hat, CentOS, Scientific Linux (rpm)
32
+
33
+ Set up the repo as explained in the link above, then on 1.10+ Foreman, run:
34
+
35
+ # yum install tfm-rubygem-foreman_cockpit
36
+
37
+ or on 1.9 or lower:
38
+
39
+ # yum install ruby193-rubygem-foreman_cockpit
40
+
41
+ ### Fedora (rpm)
42
+
43
+ Set up the repo as explained in the link above, then run:
44
+
45
+ # yum install ruby-foreman-cockpit
46
+
47
+ ### Debian, Ubuntu (deb)
48
+
49
+ Set up the repo as explained in the link above, then run
50
+
51
+ # apt-get install ruby-foreman-cockpit
52
+
53
+ ### Bundle (gem)
54
+
55
+ Add the following to bundler.d/Gemfile.local.rb in your Foreman installation directory (/usr/share/foreman by default)
56
+
57
+ $ gem 'foreman_cockpit'
58
+
59
+ Then run `bundle install` from the same directory
29
60
 
30
61
  ## Usage
31
62
 
@@ -37,7 +37,7 @@ module ForemanCockpit
37
37
  end
38
38
 
39
39
  def cockpit_protocol
40
- require_ssl? ? 'https' : 'http'
40
+ request.ssl? ? 'https' : 'http'
41
41
  end
42
42
  end
43
43
  end
@@ -1,4 +1,4 @@
1
1
  # Specify the version to be picked up in the Gemspec
2
2
  module ForemanCockpit
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_cockpit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-26 00:00:00.000000000 Z
11
+ date: 2015-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface