zgzgcase 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 62b542dd033c4593783bdedb539f00685dd8c3a2ce6467ce47751488739513a2
4
- data.tar.gz: dfb16be0f8b82b3c34ab0a3fa65a4700c58e0642eef07b3f98cec14fb71ca05c
3
+ metadata.gz: 3837b1912bfaf418f252738e1b3f2283417a350b58465a70c2f1ef06ca8ea5cb
4
+ data.tar.gz: 6cbab47f6de1fcaa5a8e6b25e520a63d9ac882d6e33719dcf208723eb79ec6c3
5
5
  SHA512:
6
- metadata.gz: 3c50304f6074796540ccd1eda502ddebc574a59836191514b1503bf3a2ddfc70dc1c2460a7b363823935c6a8c06f1d9e0bddb759d98571ac361dbc4ba9c2e21c
7
- data.tar.gz: 8ba487a836ee6a70b248cdfec12ee665637cf5b0dc8473ade29fe5e05e6c2a01c6515a58079cc897566f9661d1ae82f3ad6ae251702a6042a3c9d28e73ccbf1e
6
+ metadata.gz: 10ea73ef33bd63c69bbfcdcc123ca58ec17af2ffb3ecb43912d8ef4c4f0badda813af43cd07a0daaa8588ac8af99888b7fc6beef73a612059271f05a6c36ad8e
7
+ data.tar.gz: 2f6f0af92f9c097e523a46423fa580d54603907111a836b58abc106a744474797e8eab68e126e20b4f64e41bbe7abe18b4052daa66fe9cd79132a0fd4fae07d5
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in zgzgcase.gemspec
3
+ # Specify your gem's dependencies in zigzagcase.gemspec
4
4
  gemspec
5
5
 
6
6
  gem "rake", "~> 12.0"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zgzgcase (0.1.1)
4
+ zgzgcase (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Zgzgcase
1
+ # Zigzagcase
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/zgzgcase`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/zigzagcase`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
5
5
  TODO: Delete this and the text above, and describe your gem
6
6
 
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'zgzgcase'
12
+ gem 'zigzagcase'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -18,7 +18,7 @@ And then execute:
18
18
 
19
19
  Or install it yourself as:
20
20
 
21
- $ gem install zgzgcase
21
+ $ gem install zigzagcase
22
22
 
23
23
  ## Usage
24
24
 
@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/zgzgcase.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/CIRCLECI-GWP/zigzagcase.
36
36
 
37
37
 
38
38
  ## License
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "zgzgcase"
4
+ require "zigzagcase"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,5 +1,5 @@
1
1
  class String
2
- def zgzgcase
2
+ def zigzagcase
3
3
  modifiers = %i[upcase downcase].cycle
4
4
  self.chars.map{ |char| char.send(modifiers.next) }.join
5
5
  end
@@ -0,0 +1,3 @@
1
+ module Zigzagcase
2
+ VERSION = "0.1.2"
3
+ end
data/lib/zigzagcase.rb ADDED
@@ -0,0 +1,2 @@
1
+ require "zigzagcase/version"
2
+ require "zigzagcase/string"
data/zgzgcase.gemspec CHANGED
@@ -1,22 +1,22 @@
1
- require_relative 'lib/zgzgcase/version'
1
+ require_relative 'lib/zigzagcase/version'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "zgzgcase"
5
- spec.version = Zgzgcase::VERSION
5
+ spec.version = Zigzagcase::VERSION
6
6
  spec.authors = ["Ndagi Stanley"]
7
7
  spec.email = ["ndagis@gmail.com"]
8
8
 
9
9
  spec.summary = %q{MaKe sTrInGs lOoK LiKe tHiS}
10
10
  spec.description = %q{Alternates uppercase and lowercase across letters}
11
- spec.homepage = "https://github.com/CIRCLECI-GWP/zgzgcase"
11
+ spec.homepage = "https://github.com/CIRCLECI-GWP/zigzagcase"
12
12
  spec.license = "MIT"
13
13
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
14
 
15
15
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
- spec.metadata["source_code_uri"] = "https://github.com/CIRCLECI-GWP/zgzgcase"
19
- spec.metadata["changelog_uri"] = "https://github.com/CIRCLECI-GWP/zgzgcase/blob/main/CHANGELOG.md"
18
+ spec.metadata["source_code_uri"] = "https://github.com/CIRCLECI-GWP/zigzagcase"
19
+ spec.metadata["changelog_uri"] = "https://github.com/CIRCLECI-GWP/zigzagcase/blob/main/CHANGELOG.md"
20
20
 
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zgzgcase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ndagi Stanley
@@ -28,18 +28,18 @@ files:
28
28
  - Rakefile
29
29
  - bin/console
30
30
  - bin/setup
31
- - lib/zgzgcase.rb
32
- - lib/zgzgcase/string.rb
33
- - lib/zgzgcase/version.rb
31
+ - lib/zigzagcase.rb
32
+ - lib/zigzagcase/string.rb
33
+ - lib/zigzagcase/version.rb
34
34
  - zgzgcase.gemspec
35
- homepage: https://github.com/CIRCLECI-GWP/zgzgcase
35
+ homepage: https://github.com/CIRCLECI-GWP/zigzagcase
36
36
  licenses:
37
37
  - MIT
38
38
  metadata:
39
39
  allowed_push_host: https://rubygems.org
40
- homepage_uri: https://github.com/CIRCLECI-GWP/zgzgcase
41
- source_code_uri: https://github.com/CIRCLECI-GWP/zgzgcase
42
- changelog_uri: https://github.com/CIRCLECI-GWP/zgzgcase/blob/main/CHANGELOG.md
40
+ homepage_uri: https://github.com/CIRCLECI-GWP/zigzagcase
41
+ source_code_uri: https://github.com/CIRCLECI-GWP/zigzagcase
42
+ changelog_uri: https://github.com/CIRCLECI-GWP/zigzagcase/blob/main/CHANGELOG.md
43
43
  post_install_message:
44
44
  rdoc_options: []
45
45
  require_paths:
@@ -1,3 +0,0 @@
1
- module Zgzgcase
2
- VERSION = "0.1.1"
3
- end
data/lib/zgzgcase.rb DELETED
@@ -1,2 +0,0 @@
1
- require "zgzgcase/version"
2
- require "zgzgcase/string"