continuus_lenimentus 0.0.1 → 0.0.2

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWU4NzAzZjhhZjA0MzcxZTU4NmI4ODY1NDJlZjBjYTBhNGZhM2M3OA==
4
+ NGRkN2E0MjI3MDhkZmEwNThmNzk5ODU0ZGViM2EyYTBmNDBlNGZhMw==
5
5
  data.tar.gz: !binary |-
6
- YjRjZjU1NmYwOWYxMTZhZTQ5MDczNjhiNmEyMGMxOWY5MDMyZDAyNQ==
6
+ NzhjMjE1ZmZjNGYyYTNmZDZkZDc1OGE1MWIyZGQ4YzdmODYzNDM0Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjY1Y2ZiZGQwZTRkN2IwNDI5MDU1MzdhZDBhZTIyNzdjOWFhNjE5ZDdmZjc1
10
- MWI0MjljYmQ5NzFjOThmZTYyZDNiOTE3MGFkOTU1YTFmZTU1MGEzYWNjM2M5
11
- ZjE0YzFjMzkwZDVjYTcwNGI5NjcxNGY0YTAxZGIyZTMwY2Q2MjQ=
9
+ ZTIxZjhhMDE4N2U5NjMzM2ZkMjJkYjAxMGMyZjI3MGRkYWJmNTY3ODgyODgw
10
+ NGY0YzI0Y2Y1OTczZGMzOGFjNTUxYmU5NWM3MjJkNmI1ZDUxZWEyOWZmN2Jk
11
+ YmRiOTRhMTc4ZGI1MTk1ZmQ4ZjVkZTY2MDI1NmE5YWU2YjY2ZTE=
12
12
  data.tar.gz: !binary |-
13
- MzJkYWIxNTExMGI4OWVlZDUxYzllZWQ4ZTg0Y2JmYWUxNDg5YzJhM2VhMDVi
14
- YzlhNjlhMzFkY2MwZGUxMTVjOTlhNDFlNDEwMmQwYTU2ZTI3ODU4YTc1ZjNm
15
- MmQzNDhjZWYwMDRhMTVkMmJiNzVmN2M2YmVmNTFlMTAxNGU5MWM=
13
+ M2U4ZmFmNmVmNzU5YTJlOWQyMGZhMjZlMWMyODQyNDhlMDVmNzYzNDdiZWYy
14
+ YTcxM2M5MTMzMzVhZWUxZDE1YjgyNTEyZGNkYTM5NWM4OTM2MTYyZTQ5ZDMw
15
+ NTllMTkyMjk0YWJiZmYwZDFlNDc0MzQ4ZjhmNGMzZTJkYTExNjQ=
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- # Continuus Lenimentus [![Build Status](https://travis-ci.org/ChuckJHardy/ContinuusLenimentus.png)](https://travis-ci.org/ChuckJHardy/ContinuusLenimentus) [![Coverage Status](https://coveralls.io/repos/ChuckJHardy/ContinuusLenimentus/badge.png?branch=feature%2Fintegration)](https://coveralls.io/r/ChuckJHardy/ContinuusLenimentus?branch=master)
1
+ [![Build Status](https://travis-ci.org/ChuckJHardy/ContinuusLenimentus.png)](https://travis-ci.org/ChuckJHardy/ContinuusLenimentus) [![Coverage Status](https://coveralls.io/repos/ChuckJHardy/ContinuusLenimentus/badge.png?branch=feature%2Fintegration)](https://coveralls.io/r/ChuckJHardy/ContinuusLenimentus?branch=master) [![Code Climate](https://codeclimate.com/github/ChuckJHardy/ContinuusLenimentus.png)](https://codeclimate.com/github/ChuckJHardy/ContinuusLenimentus) [![Gem Version](https://badge.fury.io/rb/continuus_lenimentus.png)](http://badge.fury.io/rb/continuus_lenimentus) [![Dependency Status](https://gemnasium.com/ChuckJHardy/ContinuusLenimentus.png)](https://gemnasium.com/ChuckJHardy/ContinuusLenimentus)
2
+
3
+ # Continuus Lenimentus
2
4
 
3
5
  A SimpleCov Formatter for Continuus Lenimentus Local CI. When the spec suite is run a file is generated with data on the state of the test suite. This is encrypted with a key to ensure minimal conflicts when using version control.
4
6
 
@@ -47,6 +49,7 @@ Each time you run your spec suite a file will be generated.
47
49
 
48
50
  ## Configuration
49
51
 
52
+ * `encrypted` indicates whether the generated file should be encrypted. `true`
50
53
  * `key` is used when encrypting the generated file. `wdPvuEFQiYgtTxhs97ZMCgpYfoQM`
51
54
  * `file` is the name of the generated file. `continuus_lenimentus.enc`
52
55
  * `directory` is the directory where the generated file will be saved. `/coverage`
@@ -1,8 +1,9 @@
1
1
  module ContinuusLenimentus
2
2
  class Configuration
3
- attr_accessor :key, :file, :directory, :message
3
+ attr_accessor :encrypted, :key, :file, :directory, :message
4
4
 
5
5
  def initialize
6
+ self.encrypted = true
6
7
  self.key = 'wdPvuEFQiYgtTxhs97ZMCgpYfoQM'
7
8
  self.file = 'continuus_lenimentus.enc'
8
9
  self.directory = SimpleCov.coverage_path
@@ -1,3 +1,3 @@
1
1
  module ContinuusLenimentus
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -3,6 +3,19 @@ require 'spec_helper'
3
3
  describe ContinuusLenimentus::Configuration do
4
4
  let(:instance) { described_class.new }
5
5
 
6
+ describe "#encrypted" do
7
+ subject { instance.encrypted }
8
+
9
+ it 'returns a default value' do
10
+ expect(subject).to eq(true)
11
+ end
12
+
13
+ it 'returns altered value' do
14
+ instance.encrypted = false
15
+ expect(subject).to eq(false)
16
+ end
17
+ end
18
+
6
19
  describe "#key" do
7
20
  subject { instance.key }
8
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: continuus_lenimentus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chuck J hardy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-06 00:00:00.000000000 Z
11
+ date: 2013-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov