gistory 0.1.0 → 0.1.1

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: 6f0db94a0ca0b970909c4f8118e5343ecd8bb9dd
4
- data.tar.gz: f8d219bce6020ff7c737f3dcc70e0fe2ff08390b
3
+ metadata.gz: d4520f9efa5f2bff484edcc6142b7e3bd4d72edb
4
+ data.tar.gz: 2e0e42ea7e9d0baf2083e92a0b02f85bdc2ff4cb
5
5
  SHA512:
6
- metadata.gz: 01dd9e2a1ddfb4e136f6efbe8360b676ebf5c221c1903b10daf1eb8555a77a7bba97b8b3e6cb65c0131c30e8e9c166a54a3c17763094e980428ad3e50590aed5
7
- data.tar.gz: 12b412a19b76a0a8a4d4f0159ccb77ea2bfa25f6df209aee24d91dedb99905ae186b0889f79f36f62c406410ac4ca7be7364911545c54f29ba6bbf0957646732
6
+ metadata.gz: 805fb6ef7f0ae533c68dd764d0e54b9e7ca2e77c5e6d245c8798213893391a308124fd2d78d73c55727eeb27734e0dae0fd3c5792dc9c7db941fcad5473cd835
7
+ data.tar.gz: baec00294a7b2a3eeeb5a38d92cb9e547f36a4f019f7e80ed3ddde516e2c5cea9e2078e7d0a6f2548316097205c10439b59e95f8e0645c0d21a1a941ab28185f
@@ -0,0 +1,16 @@
1
+ ---
2
+ engines:
3
+ duplication:
4
+ enabled: true
5
+ config:
6
+ languages:
7
+ - ruby
8
+ fixme:
9
+ enabled: true
10
+ rubocop:
11
+ enabled: true
12
+ ratings:
13
+ paths:
14
+ - "**.rb"
15
+ exclude_paths:
16
+ - test/
@@ -0,0 +1 @@
1
+ service_name: travis-ci
@@ -13,3 +13,6 @@ Metrics/AbcSize:
13
13
 
14
14
  Metrics/MethodLength:
15
15
  Max: 15
16
+
17
+ Style/FrozenStringLiteralComment:
18
+ EnforcedStyle: always
@@ -2,4 +2,5 @@ sudo: false
2
2
  language: ruby
3
3
  rvm:
4
4
  - 2.3.3
5
+ - 2.2
5
6
  before_install: gem install bundler -v 1.14.3
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  source 'https://rubygems.org'
2
3
 
3
4
  gemspec
@@ -9,6 +10,10 @@ group :development, :test do
9
10
  end
10
11
 
11
12
  group :test do
12
- gem 'flexmock' # mock object
13
+ gem 'coveralls', require: false
14
+ gem 'flexmock' # mock library
13
15
  gem 'simplecov', require: false # code coverage
14
16
  end
17
+
18
+ local_gemfile = 'Gemfile.local'
19
+ eval_gemfile(local_gemfile) if File.exist?(local_gemfile)
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Sergio Medina
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.
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Gistory
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/gistory.svg)](https://rubygems.org/gems/gistory)
4
+ [![Code Climate](https://codeclimate.com/github/serch/gistory/badges/gpa.svg)](https://codeclimate.com/github/serch/gistory)
5
+ [![Build Status](https://travis-ci.org/serch/gistory.svg?branch=master)](https://travis-ci.org/serch/gistory)
6
+ [![Coverage Status](https://coveralls.io/repos/github/serch/gistory/badge.svg?branch=master)](https://coveralls.io/github/serch/gistory?branch=master)
7
+
3
8
  If you use bundler and git, and want to know when a gem you are using was updated, `gistory` comes to your rescue, simply:
4
9
 
5
10
  ```shell
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'bundler/gem_tasks'
2
3
  require 'rake/testtask'
3
4
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'gistory'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  lib = File.expand_path('../../lib', __FILE__)
4
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
@@ -1,4 +1,5 @@
1
1
  # coding: utf-8
2
+ # frozen_string_literal: true
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'gistory/version'
@@ -6,6 +7,8 @@ require 'gistory/version'
6
7
  Gem::Specification.new do |spec|
7
8
  spec.name = 'gistory'
8
9
  spec.version = Gistory::VERSION
10
+ spec.platform = Gem::Platform::RUBY
11
+ spec.required_ruby_version = '>= 2.0.0'
9
12
  spec.authors = ['Sergio Medina']
10
13
  spec.email = ['medinasergio@gmail.com']
11
14
 
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: truew
1
+ # frozen_string_literal: true
2
2
  require 'bundler'
3
3
 
4
4
  module Gistory
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
- require 'english'
2
+ require 'English'
3
3
 
4
4
  module Gistory
5
5
  class GitRepo
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Gistory
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gistory
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
  - Sergio Medina
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-09 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -74,10 +74,13 @@ executables:
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
+ - ".codeclimate.yml"
78
+ - ".coveralls.yml"
77
79
  - ".gitignore"
78
80
  - ".rubocop.yml"
79
81
  - ".travis.yml"
80
82
  - Gemfile
83
+ - LICENSE.txt
81
84
  - README.md
82
85
  - Rakefile
83
86
  - bin/console
@@ -106,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
109
  requirements:
107
110
  - - ">="
108
111
  - !ruby/object:Gem::Version
109
- version: '0'
112
+ version: 2.0.0
110
113
  required_rubygems_version: !ruby/object:Gem::Requirement
111
114
  requirements:
112
115
  - - ">="