ruboty-world_clock 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf5e104da4aaa4e70539ecd1a4e51a2ec932dc8c
4
- data.tar.gz: fd194879274f2ff25bb5559f7322954bbefa1d33
3
+ metadata.gz: caf05a7f4d07ca20c8e9f5ec504334d6eb9a2d33
4
+ data.tar.gz: 876133adc18bdc8482eb275533e684c5079a5f92
5
5
  SHA512:
6
- metadata.gz: 61e0b33cd37dac9c8398c9aebc1a76623fa68f2b546dd237d590d888e97fefcae6f625229c019a37ae8817f83a3e4146b4a25ca4186690be9aa516157a5662f5
7
- data.tar.gz: 5fa9825f037d9383880a733d27f25d2ca9dab00f0ec4d186bc45d46971b4f9b395f3e7ac0f19c18027c61a486f8fbbb47d356be6961979e5195b4e4c6353f280
6
+ metadata.gz: c3a177b637a6c190de57fb0528b6bd882449c000d542232394e1fd4b00ee544651b02a7bbc8a6f179e4ddd15b1fd7cfef15ea918808589e47cbb39317f515cd8
7
+ data.tar.gz: 69bdf1b1fdfc12794c609e81ed403c8ab4ef6764666dd92efa8dc89483beb8d648b40731d1227bd24020de329ab7d39ce6c685d17e9c0353bd40065dce74b300
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Ruboty::WorldClock
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/ruboty/world_clock`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ A Ruboty plugin to show world clock.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,18 +20,19 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
23
+ ```
24
+ > ruboty clock Tokyo
25
+ 2016-11-13 00:23:29
34
26
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ruboty-world_clock. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
27
+ > ruboty clock Eastern Time (US & Canada)
28
+ 2016-11-12 10:24:26
36
29
 
30
+ > ruboty list clock US
31
+ Pacific Time (US & Canada)
32
+ Mountain Time (US & Canada)
33
+ Central Time (US & Canada)
34
+ Eastern Time (US & Canada)
35
+ ```
37
36
 
38
37
  ## License
39
38
 
data/Rakefile CHANGED
@@ -1,6 +1,3 @@
1
1
  require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
2
 
6
3
  task :default => :spec
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module WorldClock
3
- VERSION = '0.0.9'
3
+ VERSION = '0.0.10'
4
4
  end
5
5
  end
@@ -4,6 +4,7 @@ require 'ruboty/handlers/world_clock'
4
4
  require 'ruboty/actions/world_clock'
5
5
  require 'ruboty/handlers/world_clock_list'
6
6
  require 'ruboty/actions/world_clock_list'
7
+
7
8
  module Ruboty
8
9
  module WorldClock
9
10
  # Your code goes here...
@@ -15,8 +15,6 @@ Gem::Specification.new do |spec|
15
15
  f.match(%r{^(test|spec|features)/})
16
16
  end
17
17
 
18
- spec.bindir = 'exe'
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
18
  spec.require_paths = ['lib']
21
19
 
22
20
  spec.add_dependency 'activesupport'
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-world_clock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shota Iguchi
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-11-12 00:00:00.000000000 Z
12
12
  dependencies:
@@ -46,15 +46,10 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
- - ".rspec"
50
- - ".travis.yml"
51
- - CODE_OF_CONDUCT.md
52
49
  - Gemfile
53
50
  - LICENSE.txt
54
51
  - README.md
55
52
  - Rakefile
56
- - bin/console
57
- - bin/setup
58
53
  - lib/ruboty/actions/world_clock.rb
59
54
  - lib/ruboty/actions/world_clock_list.rb
60
55
  - lib/ruboty/handlers/world_clock.rb
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.1
5
- before_install: gem install bundler -v 1.13.2
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at shota-iguchi@cookpad.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'ruboty/world_clock'
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require 'pry'
11
- # Pry.start
12
-
13
- require 'irb'
14
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here