libyear 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/lib/libyear/cli.rb +12 -0
- data/lib/libyear/version.rb +1 -1
- metadata +2 -4
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af54fa4ce2c0b1a2f3f022796639b72af7f79ac0
|
4
|
+
data.tar.gz: 6dd044a92c7f72f4d52c8ec0c5d7ade635c9ae67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74e88a99c19733864beccc7283eb881eea2d6e78c006de70ed75e6e52ebf228d0c37f390a388739e37bc7125c012d5480c5dbd9c164da43c670816e8ded8a70d
|
7
|
+
data.tar.gz: f0c8d2488544f1979368472b9248192289d8639b9dec0afc3f9a245feadd957e8144bfc0ea8107ec8673d1adb7b21c4b672ebfbcf160e853bca084de657b8dcb
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,24 @@
|
|
3
3
|
This project follows [semver 2.0.0][1] and the recommendations
|
4
4
|
of [keepachangelog.com][2].
|
5
5
|
|
6
|
+
## 0.2.0 (2017-03-10)
|
7
|
+
|
8
|
+
Breaking changes:
|
9
|
+
|
10
|
+
- None
|
11
|
+
|
12
|
+
Added:
|
13
|
+
|
14
|
+
- None
|
15
|
+
|
16
|
+
Fixed:
|
17
|
+
|
18
|
+
- None
|
19
|
+
|
20
|
+
Deprecated:
|
21
|
+
|
22
|
+
- Please use [libyear-bundler][3] instead
|
23
|
+
|
6
24
|
## 0.1.3 (2017-03-07)
|
7
25
|
|
8
26
|
Breaking changes:
|
@@ -52,3 +70,4 @@ Initial version. Proof of concept.
|
|
52
70
|
|
53
71
|
[1]: http://semver.org/spec/v2.0.0.html
|
54
72
|
[2]: http://keepachangelog.com/
|
73
|
+
[3]: https://rubygems.org/gems/libyear-bundler
|
data/lib/libyear/cli.rb
CHANGED
@@ -6,6 +6,7 @@ require "libyear/query"
|
|
6
6
|
module Libyear
|
7
7
|
class CLI
|
8
8
|
def initialize(argv)
|
9
|
+
deprecate
|
9
10
|
validate_arguments(argv)
|
10
11
|
@gemfile_path = argv.first
|
11
12
|
end
|
@@ -16,6 +17,17 @@ module Libyear
|
|
16
17
|
|
17
18
|
private
|
18
19
|
|
20
|
+
def deprecate
|
21
|
+
$stderr.puts(
|
22
|
+
<<-EOS
|
23
|
+
Deprecated: please use libyear-bundler instead
|
24
|
+
https://github.com/jaredbeck/libyear-rb/issues/1
|
25
|
+
Future versions of the libyear gem will run both libyear-bundler and
|
26
|
+
libyear-npm (or libyear-yarn). How cool would that be?
|
27
|
+
EOS
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
19
31
|
def validate_arguments(argv)
|
20
32
|
# todo
|
21
33
|
end
|
data/lib/libyear/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libyear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jared Beck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,9 +52,7 @@ files:
|
|
52
52
|
- LICENSE.txt
|
53
53
|
- README.md
|
54
54
|
- Rakefile
|
55
|
-
- bin/console
|
56
55
|
- bin/libyear
|
57
|
-
- bin/setup
|
58
56
|
- lib/libyear.rb
|
59
57
|
- lib/libyear/cli.rb
|
60
58
|
- lib/libyear/query.rb
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "libyear"
|
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__)
|