sb-clock 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: f2656e42ca46f99b8cc661ba53cd8372159b1d2a1f843599d00aabb6853939d3
4
- data.tar.gz: 0d559a877b81e994fa0ebf5843a82d46179e42333efd59ffd0c19c50f20136c2
3
+ metadata.gz: 4a557272d52c4c4a7529fd160f76356833599b15ddaefda6769e5870e937288e
4
+ data.tar.gz: 03e858aaf2b24f27ccbc4b7c96b693694e2d50fba5eb18e8d21318cad80c7377
5
5
  SHA512:
6
- metadata.gz: 2fd9b29e152a29a3aee46bb90a593fcca2270e52d9509b4f2aaf99184b5f483f34f062f0606411059424321e6ed13c927dd83eade46c00533a58b2ab96c12e51
7
- data.tar.gz: 21cff0c2da0f3164853d5db77a36f92a00b1097a279cf24a4fb5f516ffa481e0dc598ef753947c10bb7ac401b8c436fe9b360574540d7d1600d7be243e9afe48
6
+ metadata.gz: b1a517fb55861540c922f43a1f5874c457b9c81e65dfe0d3ae96ddebd4860a80ff7298ed013315b428ae100f1f77ed25163a2dc92835846b3933fbcd362e4361
7
+ data.tar.gz: 306a2228e4bb0fb6b6e8d53f2c6ff9cbfb7dad9edfb66072598a5ed7a3f7f1cf08d8733f447fea3f5083feb76f6c2be9d5d84f909724c9f248855c56cec18c6c
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in clock.gemspec
3
+ # Specify your gem's dependencies in sb-clock.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Clock
1
+ # Sb::Clock
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/clock`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sb/clock`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
5
5
  TODO: Delete this and the text above, and describe your gem
6
6
 
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'clock'
12
+ gem 'sb-clock'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -18,7 +18,7 @@ And then execute:
18
18
 
19
19
  Or install it yourself as:
20
20
 
21
- $ gem install clock
21
+ $ gem install sb-clock
22
22
 
23
23
  ## Usage
24
24
 
@@ -32,4 +32,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/clock.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sb-clock.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "clock"
4
+ require "sb/clock"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -10,18 +10,16 @@ require "clock"
10
10
  # require "pry"
11
11
  # Pry.start
12
12
 
13
- t = Clock::Time.now
13
+ t = Sb::Clock::Time.now
14
14
  sleep 3
15
- Clock::Time.set t
16
- tt = Clock::Time.now
17
- Clock::Time.set Time.now
18
- ttt = Clock::Time.now
15
+ Sb::Clock::Time.set t
16
+ tt = Sb::Clock::Time.now
17
+ Sb::Clock::Time.set Time.now
18
+ ttt = Sb::Clock::Time.now
19
19
  puts t
20
20
  puts tt
21
21
  puts ttt
22
22
  puts Time.now
23
23
 
24
- #puts Clock::Time.now
25
-
26
24
  require "irb"
27
25
  IRB.start(__FILE__)
@@ -0,0 +1,10 @@
1
+ require "sb/clock/version"
2
+ require 'sb/clock/interval'
3
+ require 'sb/clock/time'
4
+
5
+ module Sb
6
+ module Clock
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ module Sb
2
+ module Clock
3
+ VERSION = "0.1.2"
4
+ end
5
+ end
@@ -1,14 +1,14 @@
1
1
  lib = File.expand_path("lib", __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "clock/version"
3
+ require "sb/clock/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "sb-clock"
7
- spec.version = Clock::VERSION
7
+ spec.version = Sb::Clock::VERSION
8
8
  spec.authors = ["iodevel"]
9
9
  spec.email = ["cbrandt92@gmail.com"]
10
10
 
11
- spec.summary ='..'
11
+ spec.summary = '...'
12
12
  # spec.description = %q{TODO: Write a longer description or delete this line.}
13
13
  # spec.homepage = "TODO: Put your gem's website or public repo URL here."
14
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sb-clock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - iodevel
@@ -51,9 +51,9 @@ files:
51
51
  - Rakefile
52
52
  - bin/console
53
53
  - bin/setup
54
- - clock.gemspec
55
- - lib/clock.rb
56
- - lib/clock/version.rb
54
+ - lib/sb/clock.rb
55
+ - lib/sb/clock/version.rb
56
+ - sb-clock.gemspec
57
57
  homepage:
58
58
  licenses: []
59
59
  metadata: {}
@@ -75,5 +75,5 @@ requirements: []
75
75
  rubygems_version: 3.0.3
76
76
  signing_key:
77
77
  specification_version: 4
78
- summary: ".."
78
+ summary: "..."
79
79
  test_files: []
@@ -1,12 +0,0 @@
1
- require "clock/version"
2
- #require 'clock/interval'
3
- require 'clock/time'
4
-
5
- module Clock
6
- class Error < StandardError; end
7
- # Your code goes here...
8
- class<<self
9
- end
10
-
11
-
12
- end
@@ -1,3 +0,0 @@
1
- module Clock
2
- VERSION = "0.1.1"
3
- end