falkorlib 0.2.13 → 0.2.14

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: 58e1c322a7dc6991005be748979d8b9318a88cbb
4
- data.tar.gz: 4db3c7d05343049b6bd7b5509edd8c067ffbe217
3
+ metadata.gz: 8cc5627deb8b83f3ed313ad7b626c6457e6fb6ff
4
+ data.tar.gz: dd1479d4c151e34ad9e47d8c66501cd12c880858
5
5
  SHA512:
6
- metadata.gz: e6f851323198df65081f7a182f16e7891bb58d602af2ceca027608e80dbebb398017d0c3f2b2cb995c0ae720075567ee53a2927a5a62a7640433c227a62ba35e
7
- data.tar.gz: efa5a529d2b3a0aa56dfe81f12580f4a1ea64c26853b7361d1511aa537f35a630c95a6a8eee215b4d38c011d88798487ff1156aa3e231926724b391dc7e7b8e4
6
+ metadata.gz: ee60291bf3174e2f78f20ed0eff59bbc4710c5f76361910a404e550c59a77ce37708b362746063cdffb1d456f5be70523ed5d5c271f033c93d0dee9930e61cd1
7
+ data.tar.gz: 57175ba8f39b1e3b218e2d16f0159ae14d003b86c0b3125a562b6d21aedbf35cbb9ff12ddb62a1b0a7cd4ba96b1dfea886869e65a824860de11d0e8a9ea91914
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falkorlib (0.2.13)
4
+ falkorlib (0.2.14)
5
5
  awesome_print (~> 1.2)
6
6
  configatron (~> 3.2)
7
7
  git_remote_branch (~> 0)
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  ################################################################################
3
- # Time-stamp: <Lun 2014-08-18 21:19 svarrette>
3
+ # Time-stamp: <Mer 2014-08-20 16:55 svarrette>
4
4
  ################################################################################
5
5
  #
6
6
  # Default FalkorLib rake tasks
@@ -25,21 +25,42 @@ end # namespace falkorlib
25
25
 
26
26
 
27
27
  #.....................
28
- namespace :bundle do
29
-
30
- ########### init ###########
31
- #desc "Initialize your Bundler configuration from your Gemfile"
32
- task :init do |t|
33
- info "#{t.comment}"
28
+ namespace :bootstrap do
29
+ ########### bootstrap:bundler ###########
30
+ task :bundler do
31
+ info "Bootstrap Bundler -- see http://bundler.io/"
32
+ error "Unable to find the 'bundle' command" unless command?('bundle')
34
33
  run %{ bundle }
35
- end # task init
34
+ end
35
+
36
+ ########### rvm ###########
37
+ task :rvm do
38
+ info "Boostrap RVM for this repository -- see https://rvm.io"
39
+ error "RVM is not installed -- see https://rvm.io/rvm/install for instructions" unless command?('rvm')
40
+ ['version', 'gemset'].each do |t|
41
+ error "unable to find the .ruby-#{t} file" unless File.exists?(".ruby-#{t}")
42
+ end
43
+ info "=> initialize RVM -- see http://rvm.io"
44
+ run %{ rvm install `cat .ruby-version` }
45
+
46
+ #rvmenv = %x( rvm env --path -- `cat .ruby-version`@`cat .ruby-gemset`)
47
+ info "=> Force reloading RVM configuration within $PWD"
48
+ run %{
49
+ bash -l -c 'rvm use `cat .ruby-version`'
50
+ bash -l -c 'rvm gemset use `cat .ruby-gemset`'
51
+ bash -l -c 'rvm list && rvm gemset list'
52
+ }
53
+
54
+ info "=> installing the Bundler gem -- see http://bundler.io"
55
+ run %{ gem install bundler }
56
+ end
36
57
 
58
+ end # namespace bootstrap
37
59
 
38
- end # namespace bundle
39
60
 
40
61
  ########### setup ###########
41
62
  desc "Setup the repository"
42
- task :setup => [ 'bundle:init' ]
63
+ task :setup => ['bootstrap:rvm', 'bootstrap:bundler']
43
64
 
44
65
 
45
66
  # Empty task debug
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  ################################################################################
3
3
  # git.rake - Special tasks for the management of Git operations
4
- # Time-stamp: <Lun 2014-08-18 22:46 svarrette>
4
+ # Time-stamp: <Mer 2014-08-20 17:17 svarrette>
5
5
  #
6
6
  # Copyright (c) 2014 Sebastien Varrette <Sebastien.Varrette@uni.lu>
7
7
  # http://varrette.gforge.uni.lu
@@ -123,3 +123,9 @@ namespace :git do
123
123
  end # namespace git
124
124
 
125
125
  task :setup => [ 'git:init' ]
126
+ unless FalkorLib.config.git[:submodules].empty?
127
+ task :setup => [ 'git:submodules:init' ]
128
+ end
129
+ unless FalkorLib.config.git[:subtrees].empty?
130
+ task :setup => [ 'git:subtrees:init' ]
131
+ end
@@ -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, 2, 13
22
+ MAJOR, MINOR, PATCH = 0, 2, 14
23
23
 
24
24
  module_function
25
25
 
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.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Varrette
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2014-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake