git_helper 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: 155df8ff3253824dd7a7ba9b8e1c68862bd84c02985b56cc5aae3e4a8111bf02
4
- data.tar.gz: ec4aacae883bf8655dbb8382c738180cf29d150a67f674c6d8b3ed02dea76335
3
+ metadata.gz: aa43ec8474f02e1d7b042c0706870e9b2e148f4c17749615808c7111ffd1657a
4
+ data.tar.gz: 4b3a1b77bf3c4c8086077a768e9cdcba41683ea5daf3bcfe39b330ac9a9d142e
5
5
  SHA512:
6
- metadata.gz: 42382a1b731fbcc6a601a733158deb41c38af92141d438148330736c5be2d5934f5283524fec215e41c61375a1d0fef341a318dce2c925c42e857c5d4950b3fc
7
- data.tar.gz: 7307415e608846cd7f55bae4540fff9a322e19bb6813c1cbd22291370cb7432ba44105b393cbd7f32614ccbf9f8821534aea9d6f99ec8048de7a917dd6767cc2
6
+ metadata.gz: 7282a13816db9c1eb5653ca77b9d18c251332a9c19dc30e546d2cf074796c0e4b14e6954b1994c54de30d7f6931413d164e3f6666164e8ca5a6a3db2cfe97b46
7
+ data.tar.gz: be5d4519977cc3205aed2776809e0a062b554102b41eb0db92dc4082aaec6a404e5d3317c0482e05c448c199c6e6a28bf1745f8c9f63faec963d833b4ea8f59f
@@ -61,7 +61,7 @@ GEM
61
61
  coderay (~> 1.1)
62
62
  method_source (~> 1.0)
63
63
  public_suffix (4.0.6)
64
- rake (10.5.0)
64
+ rake (12.3.3)
65
65
  rb-fsevent (0.10.4)
66
66
  rb-inotify (0.10.1)
67
67
  ffi (~> 1.0)
@@ -90,7 +90,7 @@ DEPENDENCIES
90
90
  git_helper!
91
91
  guard (~> 2.6)
92
92
  guard-rspec (~> 4.3)
93
- rake (~> 10.1)
93
+ rake (~> 12.3.3)
94
94
  rspec (~> 2.99)
95
95
 
96
96
  BUNDLED WITH
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # git_helper [![Maintainability](https://api.codeclimate.com/v1/badges/ce1bdd719cc21b7c22a6/maintainability)](https://codeclimate.com/github/emmasax4/git_helper/maintainability)
1
+ # git_helper [![Maintainability](https://api.codeclimate.com/v1/badges/d53da11f17c38cc81b5b/maintainability)](https://codeclimate.com/github/emmasax4/git_helper/maintainability) ![Develop](https://github.com/emmasax4/git_helper/workflows/Develop/badge.svg)
2
2
 
3
3
  ## Usage
4
4
 
@@ -4,7 +4,7 @@ module GitHelper
4
4
  system("git checkout $(git symbolic-ref refs/remotes/origin/HEAD | sed \"s@^refs/remotes/origin/@@\")")
5
5
  system("git pull")
6
6
  system("git fetch -p")
7
- system("git branch -vv | grep \"origin/.*: gone]\" | awk \"{print \$1}\" | grep -v \"*\" | xargs git branch -D")
7
+ system("git branch -vv | grep \"origin/.*: gone]\" | awk '{print \$1}' | grep -v \"*\" | xargs git branch -D")
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module GitHelper
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
@@ -0,0 +1,52 @@
1
+ require 'simplecov'
2
+
3
+ SimpleCov.start do
4
+ add_filter '/spec/'
5
+ end
6
+
7
+ # This file was generated by the `rspec --init` command. Conventionally, all
8
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
9
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
10
+ # this file to always be loaded, without a need to explicitly require it in any
11
+ # files.
12
+ #
13
+ # Given that it is always loaded, you are encouraged to keep this file as
14
+ # light-weight as possible. Requiring heavyweight dependencies from this file
15
+ # will add to the boot time of your test suite on EVERY test run, even for an
16
+ # individual file that may not need all of that loaded. Instead, consider making
17
+ # a separate helper file that requires the additional dependencies and performs
18
+ # the additional setup, and require it from the spec files that actually need
19
+ # it.
20
+ #
21
+ # The `.rspec` file also contains a few flags that are not defaults but that
22
+ # users commonly want.
23
+ #
24
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
25
+ RSpec.configure do |config|
26
+ # rspec-expectations config goes here. You can use an alternate
27
+ # assertion/expectation library such as wrong or the stdlib/minitest
28
+ # assertions if you prefer.
29
+ config.expect_with :rspec do |expectations|
30
+ # This option will default to `true` in RSpec 4. It makes the `description`
31
+ # and `failure_message` of custom matchers include text for helper methods
32
+ # defined using `chain`, e.g.:
33
+ # be_bigger_than(2).and_smaller_than(4).description
34
+ # # => "be bigger than 2 and smaller than 4"
35
+ # ...rather than:
36
+ # # => "be bigger than 2"
37
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
38
+ end
39
+
40
+ config.use_transactional_fixtures = true
41
+ config.filter_run :focus => true
42
+ config.run_all_when_everything_filtered = true
43
+
44
+ # rspec-mocks config goes here. You can use an alternate test double
45
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
46
+ config.mock_with :rspec do |mocks|
47
+ # Prevents you from mocking or stubbing a method that does not exist on
48
+ # a real object. This is generally recommended, and will default to
49
+ # `true` in RSpec 4.
50
+ mocks.verify_partial_doubles = true
51
+ end
52
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emma Sax
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '10.1'
117
+ version: 12.3.3
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '10.1'
124
+ version: 12.3.3
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +164,7 @@ files:
164
164
  - lib/git_helper/octokit_client.rb
165
165
  - lib/git_helper/pull_request.rb
166
166
  - lib/git_helper/version.rb
167
+ - spec/spec_helper.rb
167
168
  homepage: https://github.com/emmasax4/git_helper
168
169
  licenses:
169
170
  - MIT
@@ -188,4 +189,5 @@ signing_key:
188
189
  specification_version: 4
189
190
  summary: A set of GitHub and GitLab workflow scripts to provide a smoother development
190
191
  process for your git projects.
191
- test_files: []
192
+ test_files:
193
+ - spec/spec_helper.rb