ngauthier-aptinstaller 0.1.0

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.
data/History.txt ADDED
@@ -0,0 +1,4 @@
1
+ === v0.1.0
2
+ 2009-01-14
3
+
4
+ * Initial Release: Aptinstaller will scan your rails project's aptinstaller configuration file to install packages via apt-get.
data/Manifest.txt ADDED
@@ -0,0 +1,8 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ bin/aptinstaller
6
+ aptinstaller.gemspec
7
+ lib/aptinstaller.rb
8
+ lib/aptinstaller/version.rb
data/README.txt ADDED
@@ -0,0 +1,54 @@
1
+ = aptinstaller
2
+
3
+ * http://github.com/ngauthier/aptinstaller/tree/master
4
+
5
+ == DESCRIPTION:
6
+ This gem installs packages through apt-get in a similar manner as geminstaller installs gems.
7
+
8
+ == Usage:
9
+ aptinstaller [/full/path/to/rails/project/root]
10
+
11
+ Note: to run on a particular environment, invoke the executable as such:
12
+
13
+ $> RAILS_ENV=staging aptinstaller /full/path/to/rails/project/root
14
+
15
+ == INCOMPLETE ==
16
+ * Currently it doesn't do anything. I'm just trying to rake the gem.
17
+
18
+ == SYNOPSIS:
19
+
20
+ FIX (code sample of usage)
21
+
22
+ == REQUIREMENTS:
23
+
24
+ * a rails app that requires apt packages
25
+
26
+ == INSTALL:
27
+
28
+ rake gem
29
+ sudo gem install pkg/aptinstaller-0.1.0.gem
30
+
31
+ == LICENSE:
32
+
33
+ (The MIT License)
34
+
35
+ Copyright (c) 2008 FIX
36
+
37
+ Permission is hereby granted, free of charge, to any person obtaining
38
+ a copy of this software and associated documentation files (the
39
+ 'Software'), to deal in the Software without restriction, including
40
+ without limitation the rights to use, copy, modify, merge, publish,
41
+ distribute, sublicense, and/or sell copies of the Software, and to
42
+ permit persons to whom the Software is furnished to do so, subject to
43
+ the following conditions:
44
+
45
+ The above copyright notice and this permission notice shall be
46
+ included in all copies or substantial portions of the Software.
47
+
48
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
49
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
51
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
52
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
53
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
54
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/VERSION.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ major: 0
3
+ minor: 1
4
+ patch: 0
data/bin/aptinstaller ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ puts "Aptinstaller"
4
+
@@ -0,0 +1,15 @@
1
+ module Aptinstaller
2
+ module Version #:nodoc:
3
+ def self.check(required, actual) #:nodoc:
4
+ required = required.map { |v| "%06d" % v }.join(".")
5
+ actual = actual.map { |v| "%06d" % v }.join(".")
6
+ return actual >= required
7
+ end
8
+
9
+ MAJOR = 0
10
+ MINOR = 1
11
+ TINY = 0
12
+ STRING = [MAJOR, MINOR, TINY].join(".")
13
+ end
14
+ end
15
+
File without changes
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ngauthier-aptinstaller
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Nick Gauthier
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-01-14 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: README.txt
17
+ email: nick@smartlogicsolutions.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
24
+ files:
25
+ - VERSION.yml
26
+ - History.txt
27
+ - README.txt
28
+ - Manifest.txt
29
+ - bin/aptinstaller
30
+ - lib/aptinstaller.rb
31
+ - lib/aptinstaller
32
+ - lib/aptinstaller/version.rb
33
+ has_rdoc: false
34
+ homepage: http://github.com/ngauthier/aptinstaller
35
+ post_install_message:
36
+ rdoc_options: []
37
+
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: "0"
45
+ version:
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: "0"
51
+ version:
52
+ requirements: []
53
+
54
+ rubyforge_project:
55
+ rubygems_version: 1.2.0
56
+ signing_key:
57
+ specification_version: 2
58
+ summary: TODO
59
+ test_files: []
60
+