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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 855b6348b31b04e941b17070ad62082e3e1d4b0b
4
- data.tar.gz: 47161de5f7674db3809d0f5a94f5935e57f6439a
3
+ metadata.gz: af54fa4ce2c0b1a2f3f022796639b72af7f79ac0
4
+ data.tar.gz: 6dd044a92c7f72f4d52c8ec0c5d7ade635c9ae67
5
5
  SHA512:
6
- metadata.gz: ef4334c4bd7a946aced62cb60afec5632e999ce9cc4d94ab6ed68653c8eb0d4a8e0c97b9b94eca874fd2bdf5d9045e673f99a17cdd8d4000992d35930dae5add
7
- data.tar.gz: 852654a7a3b9ce13024832b98a9db53bb00c230a9f28de9f9941be28da645573f7c045e7d30b26af67227a9dc08a6a0288e865674008eb7cc70f5025ae5ab10c
6
+ metadata.gz: 74e88a99c19733864beccc7283eb881eea2d6e78c006de70ed75e6e52ebf228d0c37f390a388739e37bc7125c012d5480c5dbd9c164da43c670816e8ded8a70d
7
+ data.tar.gz: f0c8d2488544f1979368472b9248192289d8639b9dec0afc3f9a245feadd957e8144bfc0ea8107ec8673d1adb7b21c4b672ebfbcf160e853bca084de657b8dcb
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Libyear
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.3
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-07 00:00:00.000000000 Z
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
@@ -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__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here