resultable 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11270d59cfd27594b90ac4ab578801eb507cc274
4
- data.tar.gz: e8f4d86b2d1cb7de01f474ecb27d055a081fd260
3
+ metadata.gz: 4b3a5ec8aa4277b5cfb969ad1badead27efdab0b
4
+ data.tar.gz: ed3fc9eac2fda65a547ed7f1fdf371731efd5167
5
5
  SHA512:
6
- metadata.gz: 85cc5e18cffd51c31cf68e395c4774370465bfb66999b5860be252dfd7c02af66cce6be4ee6bb2339a12e94b267d274619e47e236de1780c93e5fa6b1ff19300
7
- data.tar.gz: 8df54a0fef6644de9b583a5c144c548d90712a68bfc747c61649eef7ce036a8f4e7512cf419de88a8824693d43f53ef19af3030957734fc9dcf1b7e168100309
6
+ metadata.gz: ed8e7f1cc3d69733dabf51505476badf857bb4fecdb04f48b2179b7cef5befe7aa123fa8b3a19576838413d996162e7895fc9abe394947b8568dd8b78d8b386b
7
+ data.tar.gz: 9e5127cfb147fdb934870a46749213b8ae156c9f1b7a12976cab30f65bec81d8445009cc16135c579380fa61237ccef9450f84fb39658f6ccd46e5eaf1c9d544
@@ -3,8 +3,4 @@ require "resultable/result"
3
3
 
4
4
  module Resultable
5
5
  attr_accessor :result
6
-
7
- def initialize
8
- self.result = Resultable::Result.new
9
- end
10
6
  end
@@ -1,3 +1,3 @@
1
1
  module Resultable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resultable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruslan Milevskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -69,7 +69,6 @@ files:
69
69
  - lib/resultable/version.rb
70
70
  - resultable.gemspec
71
71
  - spec/resultable/result_spec.rb
72
- - spec/resultable_spec.rb
73
72
  - spec/spec_helper.rb
74
73
  - tasks/rspec.rake
75
74
  homepage: ''
@@ -98,5 +97,4 @@ specification_version: 4
98
97
  summary: Simple ruby gem that provides reusable result object.
99
98
  test_files:
100
99
  - spec/resultable/result_spec.rb
101
- - spec/resultable_spec.rb
102
100
  - spec/spec_helper.rb
@@ -1,17 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe Resultable do
4
- class Service
5
- include Resultable
6
- end
7
-
8
- subject { Service.new }
9
-
10
- it 'adds result attribute' do
11
- expect(subject.result).to_not be_nil
12
- end
13
-
14
- it 'initializes result attribute' do
15
- expect(subject.result.class).to eq(Resultable::Result)
16
- end
17
- end