observ 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: c93dbf94d01165ef3c9232ecf9e73ce957630b94
4
- data.tar.gz: 6e4a1f742ed05e6f08a7f4f863c10f70e83e21ce
3
+ metadata.gz: 2fe0631fea75bcc94fb9366c2242d477acc3e18c
4
+ data.tar.gz: 2a789c0a74700c2d95e1bba6762bc1803d979a17
5
5
  SHA512:
6
- metadata.gz: 3bb23784c4df235095f951781c91fc75c3a5d8970e0613ba5ceb373336be5f4fd929c959137216ad90dd331cc033fe76a6373c91b1e2a5332fb763384e04622c
7
- data.tar.gz: b0c7fa0d4e0bc44d2793f256cde00154ec07f6b8a0d25bfae2a04c63b938fcb9f54da9d1bfeb770479ab0c7ddbdeb1f9bd513fca1f03f22b45cccfd3f88d6d88
6
+ metadata.gz: be4395efc0fea626b52fcd6a542516ad3d4e3cb48b0252b01b3d2287742d2cccfaaa7520f53ee3718a927c6888e5c29658c40eda87095a49100e3da0dcdb4198
7
+ data.tar.gz: 4628d472ed0e968dd6fa8f8478fed599471c45165a9f197f1ec136bef9fceb18c68dd53cad1b217c7613c56e74a5eb4577402d82589a8be978acd31ca48fb032
@@ -1,5 +1,5 @@
1
1
  require "observ/version"
2
- module Observ
2
+ module ObServ
3
3
  module DSL
4
4
  def subscribe(event, on: :receive)
5
5
  return ObServ.register self, event, on: on, &Proc.new if block_given?
@@ -0,0 +1,3 @@
1
+ module ObServ
2
+ VERSION = "0.1.1"
3
+ end
@@ -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 'observ/version'
4
+ require 'ob_serv/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "observ"
8
- spec.version = Observ::VERSION
8
+ spec.version = ObServ::VERSION
9
9
  spec.authors = ["watsy0007"]
10
10
  spec.email = ["watsy0007@gmail.com"]
11
11
 
@@ -14,15 +14,6 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/watsy0007/observ"
15
15
  spec.license = "MIT"
16
16
 
17
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
- # to allow pushing to a single host or delete this section to allow pushing to any host.
19
- # if spec.respond_to?(:metadata)
20
- # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
- # else
22
- # raise "RubyGems 2.0 or newer is required to protect against " \
23
- # "public gem pushes."
24
- # end
25
-
26
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
18
  f.match(%r{^(test|spec|features)/})
28
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: observ
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
  - watsy0007
@@ -69,8 +69,8 @@ files:
69
69
  - Rakefile
70
70
  - bin/console
71
71
  - bin/setup
72
- - lib/observ.rb
73
- - lib/observ/version.rb
72
+ - lib/ob_serv.rb
73
+ - lib/ob_serv/version.rb
74
74
  - observ.gemspec
75
75
  homepage: https://github.com/watsy0007/observ
76
76
  licenses:
@@ -1,3 +0,0 @@
1
- module Observ
2
- VERSION = "0.1.0"
3
- end