git_local 0.0.5 → 0.0.6

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: 9086c6ff95c3260c0353545b5627a3540f1eefed
4
- data.tar.gz: a3bdd5d37c1ec3cbe1c4d0ed323ee8ae82922d89
3
+ metadata.gz: 341679de1dc41050a8c505b4bb6e165d3b4b38c4
4
+ data.tar.gz: fc469cd308ff92cc6148563a85ce98b15d4d50bf
5
5
  SHA512:
6
- metadata.gz: 983c5c166ccc721d3af4e15655ec0eeb8a3415fce75c89967aa8f9e83fbf2502ee7c993303382269c0325d049480d96db03db05ab1adc26fb0cdfbfb405645c7
7
- data.tar.gz: aea43f2f191d3c9a7bf34d0ca32179f85d42c8e5717708616e9f4180eb6167d89e6de6a87ea3622290c1b83267fb229ed234d3e5a89a342b8258c55201a9b48c
6
+ metadata.gz: b0bbdac26e347c75f214d918b7daeb42f689137bdf40fc14a1df8cef6782d286eec942ff49ca77e514a7c1bed45c437aa02f0996d3434fcaffc2b2ab6269d0da
7
+ data.tar.gz: 764c40cfd988121f7da87368b9914781f77b8ce069e043784629de7f5a95a63a278b30bbff339074726704be17a5d7ae7535549e9da9f6b7e7ad660832a0ed2b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git_local (0.0.5)
4
+ git_local (0.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -18,7 +18,8 @@ GEM
18
18
  coderay (~> 1.1.0)
19
19
  method_source (~> 0.8.1)
20
20
  slop (~> 3.4)
21
- rainbow (2.2.1)
21
+ rainbow (2.2.2)
22
+ rake
22
23
  rake (10.5.0)
23
24
  rspec (3.5.0)
24
25
  rspec-core (~> 3.5.0)
@@ -36,7 +37,7 @@ GEM
36
37
  rspec_junit_formatter (0.2.3)
37
38
  builder (< 4)
38
39
  rspec-core (>= 2, < 4, != 2.12.0)
39
- rubocop (0.47.1)
40
+ rubocop (0.48.1)
40
41
  parser (>= 2.3.3.1, < 3.0)
41
42
  powerpack (~> 0.1)
42
43
  rainbow (>= 1.99.1, < 3.0)
@@ -44,7 +45,7 @@ GEM
44
45
  unicode-display_width (~> 1.0, >= 1.0.1)
45
46
  ruby-progressbar (1.8.1)
46
47
  slop (3.6.0)
47
- unicode-display_width (1.1.3)
48
+ unicode-display_width (1.2.1)
48
49
 
49
50
  PLATFORMS
50
51
  ruby
data/git_local.gemspec CHANGED
@@ -1,4 +1,5 @@
1
1
  # coding: utf-8
2
+
2
3
  lib = File.expand_path("../lib", __FILE__)
3
4
  $:.unshift(lib) unless $:.include?(lib)
4
5
  require "git_local/version"
@@ -27,7 +27,7 @@ module GitLocal
27
27
  searchable_repo_path = repo_path.end_with?("/") ? repo_path : "#{repo_path}/"
28
28
 
29
29
  Dir.glob("#{searchable_repo_path}*").each_with_object([]) do |filename, git_files|
30
- next if %w(. ..).include?(filename) || File.extname(filename) == ".zip" || File.directory?(filename)
30
+ next if %w[. ..].include?(filename) || File.extname(filename) == ".zip" || File.directory?(filename)
31
31
 
32
32
  git_files << GitLocal::Object.new(filename)
33
33
  end
@@ -66,7 +66,7 @@ module GitLocal
66
66
  end
67
67
 
68
68
  def check_for_special_characters(*args)
69
- regexp = Regexp.new(/([A-Za-z0-9\-\_\/#]+)/)
69
+ regexp = Regexp.new(/([A-Za-z0-9\-\_\.\/#]+)/)
70
70
  args.each do |arg|
71
71
  raise InvalidArgument unless arg.gsub(regexp, "").empty?
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module GitLocal
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Galvanize Product
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-27 00:00:00.000000000 Z
11
+ date: 2017-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler