travelog 0.1.4 → 0.1.5

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: db74fb8c590c8f120f686a5d4a55d19cf668175d
4
- data.tar.gz: d9a5bffd8a2cc605bf809375a407bc92d9978ccb
3
+ metadata.gz: 21352bf0eccfdf77543d742c327a3037303da240
4
+ data.tar.gz: b6933dbb835836300a64c95a827a8908f9038b96
5
5
  SHA512:
6
- metadata.gz: a0417cd21ca6d85e61254436620215fceaa9b3accb3890b78fbb8ef81dbc5ca606f0ea56836816e3f722d79412128243a6966dc6331933b77b442ccdea9ea56c
7
- data.tar.gz: 0f02bf0b11a7709ce8cd18f054cf275fdfdd8bbf48c696f60b4f2d1db2fbfeea32c70ef200b00b7f61ce4094c7516a12ff9128849a536cda5412edd7c9e051f5
6
+ metadata.gz: eefcf7d08de4b18d04053242f1424067d0487da8278cf6d8ed41cf6a52fa5c64b613af8d8cf64860b78def820207ec8f784e6130e934be3a59a4d899c3d39762
7
+ data.tar.gz: 2900926ef258915a561bbfb93af841c3f2835d584702f11df0485c21aa711e3d2b30e17579aea81ec8e6df639455bca669b3872a1d47a28c3faf99c6108d6e8b
data/.gitignore CHANGED
@@ -7,5 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
- travelog-0.1.0.gem
11
10
  *.gem
@@ -1,3 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.1
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.11.0
data/README.md CHANGED
@@ -22,21 +22,15 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- ```sh
26
- git diff before after -- Gemfile.lock | travelog
27
- ```
28
-
25
+ TODO: Write usage instructions here
29
26
 
30
27
  ## Development
31
28
 
32
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
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.
33
30
 
34
- 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` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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).
35
32
 
36
33
  ## Contributing
37
34
 
38
- 1. Fork it ( https://github.com/rentalname/travelog/fork )
39
- 2. Create your feature branch (`git checkout -b my-new-feature`)
40
- 3. Commit your changes (`git commit -am 'Add some feature'`)
41
- 4. Push to the branch (`git push origin my-new-feature`)
42
- 5. Create a new Pull Request
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/travelog.
36
+
data/Rakefile CHANGED
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/setup CHANGED
@@ -1,6 +1,7 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
  IFS=$'\n\t'
4
+ set -vx
4
5
 
5
6
  bundle install
6
7
 
@@ -1,9 +1,6 @@
1
- #!/usr/bin/env ruby
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
1
+ #!/usr/bin/env bash
4
2
 
5
- require "bundler/setup"
6
- require "travelog"
3
+ require 'travelog'
7
4
 
8
5
  diff = Travelog::Diff.new
9
6
  ARGF.each_line do |line|
@@ -1,3 +1,3 @@
1
1
  module Travelog
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.10"
22
+ spec.add_development_dependency "bundler", "~> 1.11"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec", "~> 3.0"
24
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - rentalname
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: '1.11'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: '1.11'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
41
55
  description: "$ git diff from to -- Gemfile.lock | travelog "
42
56
  email:
43
57
  - agenda21st@gmail.com
@@ -50,7 +64,6 @@ files:
50
64
  - ".rspec"
51
65
  - ".travis.yml"
52
66
  - Gemfile
53
- - LICENSE.txt
54
67
  - README.md
55
68
  - Rakefile
56
69
  - bin/console
@@ -79,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
92
  version: '0'
80
93
  requirements: []
81
94
  rubyforge_project:
82
- rubygems_version: 2.4.5.1
95
+ rubygems_version: 2.5.1
83
96
  signing_key:
84
97
  specification_version: 4
85
98
  summary: Indicate change difference of version of gems
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Hideki Ashina
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.