falkorlib 0.6.6 → 0.6.7

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
  SHA1:
3
- metadata.gz: dd9432eae0d03241b768df5b1fa15066b0b8abfb
4
- data.tar.gz: a426e9c5a5737816f49dde8f21c9c03a4aa27d21
3
+ metadata.gz: 69d6da4ea0df7c70d04ef5b74a00d0e2e4c1650d
4
+ data.tar.gz: 95d491943922754d53bfb824045c21225c473841
5
5
  SHA512:
6
- metadata.gz: 8e59fe644a732f68a56aa89313bc3d0bfca210fc89c959850e986dad76483c04bcb092b870034b7c1c79f430e982b9ae0f9e7ddb966b168d7f6de2ffe231e5c1
7
- data.tar.gz: 49622e31057c85d0867b6bb974ea92889a02734761b090e576a70385cac01d5d8cf807331a1e8d257b36c4276969cd3cd77856c42b1fd112eedea905aaeafed2
6
+ metadata.gz: 53e2258b6e48fca7a1572a918f6b6189a029ff5b9747e0dacd7f4f17585a3ba8bef83749a40a32a949388209569622f40d9a06818929a51e12417c48718dd047
7
+ data.tar.gz: 06b48ac7fb8fee671faaec11d34644b090bfe079dcb088f215ac9ee2969300d643f3caed1b54f6fc6732adc296364857e6fff8b216b854db97ddd3b54a647f02
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falkorlib (0.6.6)
4
+ falkorlib (0.6.7)
5
5
  artii (>= 2.1)
6
6
  awesome_print (~> 1.2)
7
7
  configatron (~> 3.2)
data/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
  |_| \__,_|_|_|\_\___/|_| |_____|_|_.__/
15
15
 
16
16
 
17
- Copyright (c) 2012-2014 Sebastien Varrette <Sebastien.Varrette@uni.lu>
17
+ Copyright (c) 2012-2016 Sebastien Varrette <Sebastien.Varrette@uni.lu>
18
18
 
19
19
  Sebastien Varrette aka Falkor's Common library to share Ruby code and `{rake,cap}`
20
20
  tasks.
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  ################################################################################
3
- # Time-stamp: <Tue 2016-02-02 23:39 svarrette>
3
+ # Time-stamp: <Thu 2016-02-04 00:39 svarrette>
4
4
  ################################################################################
5
5
  # Interface for the main Bootstrapping operations
6
6
  #
@@ -201,6 +201,16 @@ module FalkorLib
201
201
  exit_status = (File.exists?(file) and `cat #{file}`.chomp == g) ? 0 : 1
202
202
  FalkorLib::Git.add(File.join(rootdir, files[:gemsetfile])) if use_git
203
203
  end
204
+ # ==== Gemfile ===
205
+ gemfile = File.join(rootdir, 'Gemfile')
206
+ unless File.exists?( gemfile )
207
+ run %{ bundle init }
208
+ info " ==> configuring Gemfile with Falkorlib"
209
+ File.open( gemfile, 'a') do |f|
210
+ f.puts "gem 'falkorlib' #, :path => '~/git/github.com/Falkor/falkorlib'"
211
+ end
212
+ FalkorLib::Git.add(gemfile) if use_git
213
+ end
204
214
  exit_status
205
215
  end # rvm
206
216
 
@@ -393,7 +403,6 @@ module FalkorLib
393
403
  else
394
404
  config[:name] = ask("\tProject name: ", name) unless options[:name]
395
405
  end
396
-
397
406
  # Type of project
398
407
  config[:type] << :latex if options[:latex]
399
408
  if config[:type].empty?
@@ -461,6 +470,7 @@ module FalkorLib
461
470
  [ :latex ].each do |type|
462
471
  erbfiles << "readme_#{type}.erb" if options[type.to_sym] and File.exist?( File.join(templatedir, "readme_#{type}.erb"))
463
472
  end
473
+ erbfiles << "readme_issues.erb"
464
474
  erbfiles << "readme_git.erb" if FalkorLib::Git.init?(dir)
465
475
  erbfiles << "readme_gitflow.erb" if FalkorLib::GitFlow.init?(dir)
466
476
  erbfiles << "readme_rvm.erb" if config[:type].include?(:rvm)
@@ -19,7 +19,7 @@ module FalkorLib #:nodoc:
19
19
  # MAJOR: Defines the major version
20
20
  # MINOR: Defines the minor version
21
21
  # PATCH: Defines the patch version
22
- MAJOR, MINOR, PATCH = 0, 6, 6
22
+ MAJOR, MINOR, PATCH = 0, 6, 7
23
23
 
24
24
  module_function
25
25
 
@@ -5,7 +5,7 @@
5
5
  <% end %>
6
6
  ![By <%= config[:by] %>](https://img.shields.io/badge/by-<%= config[:by] %>-blue.svg) [![<%= config[:forge] %>](https://img.shields.io/badge/git-<%= config[:forge] %>-lightgray.svg)](<%= config[:source] %>) [![Issues](https://img.shields.io/badge/issues-<%= config[:forge] %>-green.svg)](<%= config[:issues_url] %>)
7
7
 
8
- Time-stamp: <Tue 2016-02-02 23:42 svarrette>
8
+ Time-stamp: <Thu 2016-02-04 00:34 svarrette>
9
9
 
10
10
  <%= ::Artii::Base.new().asciify( config[:name] ).split("\n").join("\n ") %>
11
11
  Copyright (c) <%= Time.now.year %> <%= config[:author] %> <<%= config[:mail] %>>
@@ -29,13 +29,24 @@ This repository is hosted on [<%= FalkorLib::Config::Bootstrap::DEFAULTS[:forge]
29
29
  $> cd ~/git/<%= FalkorLib::Config::Bootstrap::DEFAULTS[:forge][ config[:forge].to_sym ][:url] %>/<%= config[:by] %>
30
30
  $> git clone <%= config[:origin] %>
31
31
 
32
+ <% if config[:type].include?( :rvm ) %>
33
+ Now ensure [RVM](https://rvm.io/) is correctly configured for this repository:
34
+
35
+ $> rvm current
36
+
37
+ Configure the dependencies detailed in the [`Gemfile`](Gemfile) through the [Bundler](http://bundler.io/):
38
+
39
+ $> gem install bundler
40
+ $> bundle install
41
+ $> rake -T # should work ;)
42
+ <% end %>
43
+
32
44
  **`/!\ IMPORTANT`**: Once cloned, initiate your local copy of the repository by running:
33
45
 
34
46
  $> cd <%= name.downcase %>
35
47
  <% if options[:make] %>
36
48
  $> make setup
37
49
  <% else %>
38
- $> gem install rake # the very first time
39
50
  $> rake setup
40
51
  <% end %>
41
52
 
@@ -1,7 +1,3 @@
1
- ## Issues / Feature request
2
-
3
- You can submit bug / issues / feature request using the [`<%= config[:by] %>/<%= config[:name].downcase %>` Project Tracker](<%= config[:issues_url] %>)
4
-
5
1
  ## Advanced Topics
6
2
 
7
3
  ### Git
@@ -35,7 +35,7 @@ For more information on the version, run:
35
35
 
36
36
  If a new version number such be bumped, you simply have to run:
37
37
 
38
- $> <%= options[:make] ? 'make start_bump_{major,minor,patch}' : 'rake version:{major,minor,patch}' %>
38
+ $> <%= options[:make] ? 'make start_bump_{major,minor,patch}' : 'rake version:bump:{major,minor,patch}' %>
39
39
 
40
40
  This will start the release process for you using `git-flow`.
41
41
  Once you have finished to commit your last changes, make the release effective by running:
@@ -0,0 +1,3 @@
1
+ ## Issues / Feature request
2
+
3
+ You can submit bug / issues / feature request using the [`<%= config[:by] %>/<%= config[:name].downcase %>` Project Tracker](<%= config[:issues_url] %>)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falkorlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Varrette
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-02 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -409,6 +409,7 @@ files:
409
409
  - templates/README/readme_gem.erb
410
410
  - templates/README/readme_git.erb
411
411
  - templates/README/readme_gitflow.erb
412
+ - templates/README/readme_issues.erb
412
413
  - templates/README/readme_latex.erb
413
414
  - templates/README/readme_rvm.erb
414
415
  - templates/Rakefile/footer_rakefile.erb