auto-gemsets 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,37 @@
1
1
  #Changelog
2
2
 
3
+ ## Version 0.2.1
4
+ - add `init` command
5
+
3
6
  ## Version 0.2.0
4
7
  - init command to copy script to /usr/local/share/auto_gemsets
5
8
  - utility to install gems in the default gemset from anywhere
6
9
  - utility to remove gems from the default gemset from anywhere
7
10
 
8
11
  ## Version 0.1.7
9
- - Fixed a bug where calling gemset with -v would error
10
- - Set appropriate gem bin directories in PATH
11
- - Namespace functions to avoid collisions
12
+ - Fixed a bug where calling gemset with -v would error
13
+ - Set appropriate gem bin directories in PATH
14
+ - Namespace functions to avoid collisions
12
15
 
13
16
  ## Version 0.1.6
14
- - Fixed a bug where the gemset bin path was being duplicated in $PATH
17
+ - Fix bug where bin directories were duplicated in PATH
18
+
19
+ ## Verson 0.1.5
20
+ - Add GEM bin directories to PATH
21
+ - Show default instead of default gemset path
22
+
23
+ ## Version 0.1.4
24
+ - Change HELP file from plain text to Markdown
25
+
26
+ ## Version 0.1.3
27
+ - Refactor auto_gemset.sh script
28
+ - Set gemset on initilization
29
+
30
+ ## Version 0.1.2
31
+ - Refactor from chruby script proof of concept to auto_gemset script
32
+ - Format `gemset list` output
33
+ - Add `edit` command
34
+
35
+ ## Version 0.1.0
36
+ - First release
37
+ - Gemified version of a chruby script
data/README.md CHANGED
@@ -37,19 +37,19 @@ Although auto-gemsets focuses on automatic management of your gemsets, there are
37
37
 
38
38
  See the [HELP](https://github.com/daytonn/auto-gemsets/blob/master/HELP.md) file for `gemset`'s Documentation.
39
39
 
40
- ## default-gemset
40
+ ## default-gems
41
41
  The defalt-gemset command is an auto-gems utility to manage gems
42
42
  in the default* gemset from within other gemsets.
43
43
 
44
44
  ### Usage:
45
45
 
46
- default-gemset (command) [options]
46
+ default-gems (command) [options]
47
47
 
48
48
  ### Examples:
49
49
 
50
- default-gemset install rake
51
- default-gemset uninstall rake -v=10.0.1
52
- default-gemset list --local
50
+ default-gems install rake
51
+ default-gems uninstall rake -v=10.0.1
52
+ default-gems list --local
53
53
 
54
- `default-gemset` accepts any valid `gem` command, with any valid arguments and options.
54
+ `default-gems` accepts any valid `gem` command, with any valid arguments and options.
55
55
  It is simply a pass-through to the `gem` command with the context of the default gemset.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.3.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "auto-gemsets"
8
- s.version = "0.2.2"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dayton Nolan"]
12
- s.date = "2013-01-01"
12
+ s.date = "2013-01-05"
13
13
  s.description = "auto-gemsets creates a gemset named after the parent directory of every Gemfile you encounter. This let's you automatically scope your gems without using shims or creating gemsets. "
14
14
  s.email = "dnolan@gmail.com"
15
15
  s.executables = ["gemset"]
@@ -195,7 +195,6 @@ module AutoGemsets
195
195
  def create_script
196
196
  FileUtils.mkdir_p(AutoGemsets::INSTALL_ROOT) unless File.exists? AutoGemsets::INSTALL_ROOT
197
197
  FileUtils.cp(File.join(AutoGemsets::ROOT, 'lib', 'auto-gemsets', 'auto_gemsets.sh'), AutoGemsets::INSTALL_ROOT)
198
- FileUtils.chmod("a+x", File.join(AutoGemsets::INSTALL_ROOT, File.basename(script_file)))
199
198
  end
200
199
  end
201
200
 
@@ -89,7 +89,6 @@ auto_gemsets() {
89
89
 
90
90
  dir="${dir%/*}"
91
91
  done
92
-
93
92
  }
94
93
 
95
94
  ag_get_parent_dirname() {
@@ -122,7 +121,7 @@ ag_create_gemset_if_missing() {
122
121
  fi
123
122
  }
124
123
 
125
- default-gemset() {
124
+ default-gems() {
126
125
  if [ -n "$1" ]; then
127
126
  ag_silent "on"
128
127
  G="$GEMSET"
@@ -132,22 +131,22 @@ default-gemset() {
132
131
  ag_silent "off"
133
132
  else
134
133
  cat <<EOF
135
- The defalt-gemset command is an auto-gems utility to manage gems
134
+ The defalt-gems command is an auto-gems utility to manage gems
136
135
  in the default* gemset from within other gemsets.
137
136
 
138
137
  Usage:
139
138
  ------
140
139
 
141
- default-gemset (command) [options]
140
+ default-gems (command) [options]
142
141
 
143
142
  Examples:
144
143
  ---------
145
144
 
146
- default-gemset install mygem
147
- default-gemset uninstall mygem
148
- default-gemset list
145
+ default-gems install mygem
146
+ default-gems uninstall mygem
147
+ default-gems list
149
148
 
150
- `default-gemset` accepts any valid `gem` command, with any valid arguments and options.
149
+ `default-gems` accepts any valid `gem` command, with any valid arguments and options.
151
150
  It is simply a pass-through to the `gem` command with the context of the default gemset.
152
151
  EOF
153
152
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto-gemsets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-01 00:00:00.000000000 Z
12
+ date: 2013-01-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  segments:
152
152
  - 0
153
- hash: -1465191191153161153
153
+ hash: -962648630984490021
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  none: false
156
156
  requirements: