gemstory 0.1.0.beta1 → 0.1.0.beta2
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 +4 -4
- data/README.md +4 -20
- data/gemstory.gemspec +0 -1
- data/lib/gemstory/reader.rb +0 -2
- data/lib/gemstory/version.rb +1 -1
- metadata +1 -5
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0622838fa4fac5639133dc533fd7c54d3a7a82a17f1cbed58547675a892b52a5'
|
4
|
+
data.tar.gz: 5a6a37f568a87c4ec3aebf479ca4d2029fb9181ad826e0bb2db5282cbf5ff977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f63a83f5d336a9d938e35e9db75790e25c8da0085e3b45f808c46d1147f9b480ca30a4a773562f8540f0dfd2a9abd4a6c2782ef68e91bf1f1219c6f09782786
|
7
|
+
data.tar.gz: c2e3cbc6e5581c3e85f7a55496090ee5238adc453178f3cbf2d7f8b5159d3ba3b717e62699ff1a92270a1e7ceb2b8709a0eb192bd370eb19bbab79042bb77b61
|
data/README.md
CHANGED
@@ -1,34 +1,18 @@
|
|
1
1
|
# Gemstory
|
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/gemstory`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
2
|
+
Gemstory tells the story of gems in your project. Its a command line tool that will read the history of the Gemfile.lock and project the output in terminal.
|
6
3
|
|
7
4
|
## Installation
|
8
5
|
|
9
|
-
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'gemstory'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install gemstory
|
6
|
+
$ gem install gemstory --pre
|
22
7
|
|
23
8
|
## Usage
|
24
9
|
|
25
|
-
|
10
|
+
Rub `gemstory` in your project root folder
|
26
11
|
|
27
12
|
## Development
|
28
13
|
|
29
|
-
|
14
|
+
This gem is at a beta state now. More CLI options are under construction. Output can be a json file or an HTML file in the future
|
30
15
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
16
|
|
33
17
|
## Contributing
|
34
18
|
|
data/gemstory.gemspec
CHANGED
@@ -34,7 +34,6 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.require_paths = ["lib"]
|
35
35
|
|
36
36
|
spec.add_runtime_dependency 'thor', '~> 0.20.0'
|
37
|
-
# spec.add_runtime_dependency 'progress'
|
38
37
|
|
39
38
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
40
39
|
spec.add_development_dependency 'rake', '~> 10.0'
|
data/lib/gemstory/reader.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'date'
|
2
|
-
# require 'progress'
|
3
2
|
|
4
3
|
module Gemstory
|
5
4
|
class Reader
|
@@ -115,7 +114,6 @@ module Gemstory
|
|
115
114
|
end
|
116
115
|
|
117
116
|
def call
|
118
|
-
# @logs.each_line.with_progress('Reading Gemfile.lock history') do |line|
|
119
117
|
puts 'Reading Gemfile.lock history'
|
120
118
|
@logs.each_line do |line|
|
121
119
|
@line = line.strip
|
data/lib/gemstory/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemstory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edwin Rozario
|
@@ -85,9 +85,7 @@ description: Version changes of all the Gems in a project that has a Gemfile.loc
|
|
85
85
|
email:
|
86
86
|
- rozarioed@gmail.com
|
87
87
|
executables:
|
88
|
-
- console
|
89
88
|
- gemstory
|
90
|
-
- setup
|
91
89
|
extensions: []
|
92
90
|
extra_rdoc_files: []
|
93
91
|
files:
|
@@ -100,9 +98,7 @@ files:
|
|
100
98
|
- LICENSE.txt
|
101
99
|
- README.md
|
102
100
|
- Rakefile
|
103
|
-
- bin/console
|
104
101
|
- bin/gemstory
|
105
|
-
- bin/setup
|
106
102
|
- gemstory.gemspec
|
107
103
|
- lib/gemstory.rb
|
108
104
|
- lib/gemstory/cli.rb
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "gemstory"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|