dnt 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
  SHA1:
3
- metadata.gz: 09054f06f0eccb41a17f320dcfefb898b5911efa
4
- data.tar.gz: 797abee6c28aee72b9d9099d109e675752b3ebf5
3
+ metadata.gz: 70f47a156d0bc7a1527783bacdd115de53033221
4
+ data.tar.gz: 529061afc7cbf8f393b2190a8c03c69970dc4cd8
5
5
  SHA512:
6
- metadata.gz: 0ad52cc419d949a2c0057b5760afca70ac60fb27642f969a049d1a9a352bf75b6544e1949818f1e035e182dd6dd4d13dfa4555238867696fe91ea8809682e200
7
- data.tar.gz: c83a554908cd193ad739bb237fdb5fea6e7c3402ace226fd29e85fc42eb9c9b48fc620a47fc0de5eb6d6ca0a18a2f879499bf046f7415c0c5a99a13c0eda6fc5
6
+ metadata.gz: 6b49ccbf438bfb1527b88b81dcfd1d085b194075ca4759db17a8f5a4318c1578ce21365a39327e46704ccf8caa4912a4902a63271a26c88e2d0600fe323748e9
7
+ data.tar.gz: 1ef932fa3df48dc11d02b48d33a950b1cbf1ea36bb879bfa0475bbffa74c4c8b5c7ba15a4e27f9ec4bfcec9e8115ecbeec21f25d1af2329eb7797348033bea5b
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Dnt
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/dnt`. 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
+ Search to find current local time and time zone
6
4
 
7
5
  ## Installation
8
6
 
@@ -24,12 +22,6 @@ Or install it yourself as:
24
22
 
25
23
  $ dnt search 'san jose'
26
24
 
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
25
  ## Contributing
34
26
 
35
27
  Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dnt.
@@ -15,8 +15,8 @@ Gem::Specification.new do |spec|
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = "exe"
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.bindir = "bin"
19
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.12"
@@ -1,3 +1,3 @@
1
1
  module Dnt
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnt
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
  - at-longhpv
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2016-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,7 +83,8 @@ dependencies:
83
83
  description: Check TimeZone
84
84
  email:
85
85
  - longhpv@asiantech.vn
86
- executables: []
86
+ executables:
87
+ - dnt
87
88
  extensions: []
88
89
  extra_rdoc_files: []
89
90
  files:
@@ -94,9 +95,7 @@ files:
94
95
  - LICENSE.txt
95
96
  - README.md
96
97
  - Rakefile
97
- - bin/console
98
98
  - bin/dnt
99
- - bin/setup
100
99
  - dnt.gemspec
101
100
  - lib/dnt.rb
102
101
  - lib/dnt/cli.rb
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "dnt"
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