gruf-commander 0.1.2 → 1.0.0

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
- SHA1:
3
- metadata.gz: 3b498ac5c312b8633dcdf3f1a7a03c598b6fc58b
4
- data.tar.gz: da41caffdfbeccee26d1abeb830bdff0d00d39cc
2
+ SHA256:
3
+ metadata.gz: ffa7792c9f93629ea6e0ee42d20cae59b211d51fa8262dcd3b04848e541dda80
4
+ data.tar.gz: dafbf60c49cae5acd270fe6a406bb20079bce343446d27abf8b14a596be9d8a5
5
5
  SHA512:
6
- metadata.gz: 1a9da1f25120530a88b3b2c2367ccb90ca718875a40384e57374cec14497ca6df3968e01ad96da28ff154d60894744bd62e6200c06cce39aa3634c2e0fe2dac0
7
- data.tar.gz: 111fd7e3aab321611dc2da30080d72e5c88bc28865d3c365e31048eb8b7ac98d8e8b75952898444055ad8e1dd0f59b0249a7f2c9680fe7799ceac0e685bea70a
6
+ metadata.gz: f2c6f7e2115b5a4e0a9c987a3e4b724a2e6da075e833bb95d7543c4fc7f0f39d05687ae7174ed9ea4094334e38925eac509fd717d66acba72755fdc92efe27b9
7
+ data.tar.gz: '0618a88e2a0b68715ed96d8933b0bfea40514959cee8256aaeb22fd046dd23bedb35d1d004567fbdfb8180d44f13bb2ec1550a1e7cd9e3ced9eb69d9780fbd73'
@@ -2,6 +2,11 @@ Changelog for the gruf-commander gem. This includes internal history before the
2
2
 
3
3
  ### Pending release
4
4
 
5
+ ### 1.0.0
6
+
7
+ - Add frozen_string_literal: true to all files
8
+ - Deprecate ruby 2.2 support
9
+
5
10
  ### 0.1.2
6
11
 
7
12
  - Loosen activemodel version pin to allow for Rails 5 support
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Gruf Commander
2
2
 
3
- [![Build Status](https://travis-ci.com/bigcommerce/gruf-commander.svg?token=D3Cc4LCF9BgpUx4dpPpv&branch=master)](https://travis-ci.com/bigcommerce/gruf-commander) [![Gem Version](https://badge.fury.io/rb/gruf-commander.svg)](https://badge.fury.io/rb/gruf-commander) [![Documentation](https://inch-ci.org/github/bigcommerce/gruf-commander.svg?branch=master)](https://inch-ci.org/github/bigcommerce/gruf-commander?branch=master)
3
+ [![CircleCI](https://circleci.com/gh/bigcommerce/gruf-commander.svg?style=svg)](https://circleci.com/gh/bigcommerce/gruf-commander) [![Gem Version](https://badge.fury.io/rb/gruf-commander.svg)](https://badge.fury.io/rb/gruf-commander) [![Documentation](https://inch-ci.org/github/bigcommerce/gruf-commander.svg?branch=master)](https://inch-ci.org/github/bigcommerce/gruf-commander?branch=master)
4
4
 
5
5
  Assists with request/command-style syntax and separated validation layer in [gruf](https://github.com/bigcommerce/gruf)
6
6
  requests.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright (c) 2018-present, BigCommerce Pty. Ltd. All rights reserved
2
4
  #
3
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright (c) 2018-present, BigCommerce Pty. Ltd. All rights reserved
2
4
  #
3
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright (c) 2018-present, BigCommerce Pty. Ltd. All rights reserved
2
4
  #
3
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright (c) 2018-present, BigCommerce Pty. Ltd. All rights reserved
2
4
  #
3
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
@@ -54,6 +56,7 @@ module Gruf
54
56
  # rubocop:disable Style/RaiseArgs
55
57
  def submit!
56
58
  raise InvalidRequest.new(self) unless valid?
59
+
57
60
  command.call(self)
58
61
  end
59
62
  # rubocop:enable Style/RaiseArgs
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright (c) 2018-present, BigCommerce Pty. Ltd. All rights reserved
2
4
  #
3
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright (c) 2018-present, BigCommerce Pty. Ltd. All rights reserved
2
4
  #
3
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
@@ -15,6 +17,6 @@
15
17
  #
16
18
  module Gruf
17
19
  module Commander
18
- VERSION = '0.1.2'.freeze
20
+ VERSION = '1.0.0'
19
21
  end
20
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gruf-commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun McCormick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-01 00:00:00.000000000 Z
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,8 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubyforge_project:
104
- rubygems_version: 2.6.13
103
+ rubygems_version: 3.0.2
105
104
  signing_key:
106
105
  specification_version: 4
107
106
  summary: Command/request syntax helper for gruf