diff options
| author | mokha <mokha@cisco.com> | 2018-05-14 18:56:06 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-05-14 18:56:06 -0600 |
| commit | 8f0afaf2a415d54ebf1541a549f91e1d818a4b22 (patch) | |
| tree | 869280322fadb6bacbfab6e002f92ead5749c468 /lib | |
| parent | dbe6f55ead4b9e44dde471bab29af9179f5471a0 (diff) | |
fix rubocop errors.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/net/hippie.rb | 2 | ||||
| -rw-r--r-- | lib/net/hippie/api.rb | 2 | ||||
| -rw-r--r-- | lib/net/hippie/client.rb | 2 | ||||
| -rw-r--r-- | lib/net/hippie/content_type_mapper.rb | 2 | ||||
| -rw-r--r-- | lib/net/hippie/version.rb | 4 |
5 files changed, 11 insertions, 1 deletions
diff --git a/lib/net/hippie.rb b/lib/net/hippie.rb index 6117512..11d0b73 100644 --- a/lib/net/hippie.rb +++ b/lib/net/hippie.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'json' require 'logger' require 'net/http' diff --git a/lib/net/hippie/api.rb b/lib/net/hippie/api.rb index 3ade661..f77ba4e 100644 --- a/lib/net/hippie/api.rb +++ b/lib/net/hippie/api.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Net module Hippie # A no nonsense class to perform HTTP requests. diff --git a/lib/net/hippie/client.rb b/lib/net/hippie/client.rb index 33cc729..0042e92 100644 --- a/lib/net/hippie/client.rb +++ b/lib/net/hippie/client.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Net module Hippie # A simple client for connecting with http resources. diff --git a/lib/net/hippie/content_type_mapper.rb b/lib/net/hippie/content_type_mapper.rb index 2051c27..6c8b284 100644 --- a/lib/net/hippie/content_type_mapper.rb +++ b/lib/net/hippie/content_type_mapper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Net module Hippie # Converts a ruby hash into a JSON string diff --git a/lib/net/hippie/version.rb b/lib/net/hippie/version.rb index 8b1ed79..92cdd4e 100644 --- a/lib/net/hippie/version.rb +++ b/lib/net/hippie/version.rb @@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Net module Hippie - VERSION = '0.1.6'.freeze + VERSION = '0.1.6' end end |
