simple_interaction 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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 902b964d4821ea5d1e0857412061e40a895abb29
4
- data.tar.gz: 3e5adefafafd26b0d589f95d7c7ac19254f05aa2
3
+ metadata.gz: 9b5be838d0489e8d54ba7578671c469e33c7ffc7
4
+ data.tar.gz: 27cfdd1b668ad0cdf9961a5a6508939843995bb7
5
5
  SHA512:
6
- metadata.gz: 1369a2a7d08fb56833109cb523b117fdc5a3ce9bb6bfd5da6394154fd21f1a95c4556fa7fa7a77523ece4e5327a99ef8d981c92d2bb1d2f239f9b80484d5ba58
7
- data.tar.gz: 1886ddbf0a775163c6d2bf838f047515c9cef69819608dd7fa28374f8de19de18ec69013740935f5d6314f829a7470d811f31e00ecf058e48816d19e024887a3
6
+ metadata.gz: 1ec7a3d33ab9fb5af675c241533c65d8b539b8d29d68d8a5c77bc0d72322152a9a2ad553856fbafecafa71c3b4f0420aa5723f170e85ea117bec67aaecd49a43
7
+ data.tar.gz: 9def394bf09a34ef664d4c639d62dc4fb193a4f7ab417c577debc6c72f580713ad81a076c58576ef45a42d5b27d8cda28c5cd90ac8dcb7f02d859c91dbdbe704
data/interaction.gemspec CHANGED
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'interaction/version'
4
+ require 'simple_interaction/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "simple_interaction"
8
- spec.version = Interaction::VERSION
8
+ spec.version = SimpleInteraction::VERSION
9
9
  spec.authors = ["Jose Boza"]
10
10
  spec.email = ["jaboza@gmail.com"]
11
11
  spec.summary = %q{Keep your code clean with simple interactions}
@@ -0,0 +1,3 @@
1
+ module SimpleInteraction
2
+ VERSION = "0.0.2"
3
+ end
@@ -1,6 +1,6 @@
1
- require "interaction/version"
1
+ require "simple_interaction/version"
2
2
 
3
- module Interaction
3
+ module SimpleInteraction
4
4
 
5
5
  # = Interactions
6
6
  #
@@ -1,8 +1,8 @@
1
1
  require 'minitest/autorun'
2
- require 'interaction'
2
+ require 'simple_interaction'
3
3
 
4
4
  class Interactor
5
- include Interaction
5
+ include SimpleInteraction
6
6
 
7
7
  fail_with 'InteractorExp'
8
8
 
@@ -16,10 +16,10 @@ class Interactor
16
16
  end
17
17
 
18
18
  class InteractorNotImplemented
19
- include Interaction
19
+ include SimpleInteraction
20
20
  end
21
21
 
22
- module Interaction
22
+ module SimpleInteraction
23
23
  class InteractionTest < ::Minitest::Test
24
24
 
25
25
  def test_private_run
@@ -31,7 +31,7 @@ module Interaction
31
31
  end
32
32
 
33
33
  def test_error_class_not_defined
34
- assert_equal Interaction::InteractionError, InteractorNotImplemented.error_class
34
+ assert_equal SimpleInteraction::InteractionError, InteractorNotImplemented.error_class
35
35
  end
36
36
 
37
37
  def test_should_require_params
@@ -64,7 +64,7 @@ module Interaction
64
64
  end
65
65
 
66
66
  def test_not_implemented
67
- assert_raises(Interaction::NotImplemented) { InteractorNotImplemented.run(param: '1') }
67
+ assert_raises(SimpleInteraction::NotImplemented) { InteractorNotImplemented.run(param: '1') }
68
68
  end
69
69
 
70
70
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_interaction
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
  - Jose Boza
@@ -53,8 +53,8 @@ files:
53
53
  - Rakefile
54
54
  - bin/rake
55
55
  - interaction.gemspec
56
- - lib/interaction.rb
57
- - lib/interaction/version.rb
56
+ - lib/simple_interaction.rb
57
+ - lib/simple_interaction/version.rb
58
58
  - test/interaction_test.rb
59
59
  homepage: ''
60
60
  licenses:
@@ -1,3 +0,0 @@
1
- module Interaction
2
- VERSION = "0.0.1"
3
- end