ruby-atmos 1.0.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -78,17 +78,26 @@ rexml_spec.rubyforge_project = rexml_spec.name
78
78
  Rake::GemPackageTask.new(nokogiri_spec) { |pkg| }
79
79
  Rake::GemPackageTask.new(rexml_spec) { |pkg| }
80
80
 
81
-
82
- desc 'install gem with dependencies'
83
- task :install => :package do
84
- sh "sudo gem i pkg/#{spec.name}-#{spec.version}.gem"
81
+ desc 'install, require both gems'
82
+ task :install do
83
+ sh "sudo gem i pkg/#{rexml_spec.name}-#{rexml_spec.version}.gem"
84
+ sh "ruby test/require_test.rb"
85
+ sh "sudo gem i pkg/#{nokogiri_spec.name}-#{nokogiri_spec.version}.gem"
86
+ sh "ruby test/require_test.rb"
85
87
  end
86
88
 
87
- desc 'uninstall gem'
89
+ desc 'uninstall both gems'
88
90
  task :uninstall do
89
- sh "sudo gem uninstall #{spec.name} -x"
91
+ sh "sudo gem uninstall #{nokogiri_spec.name} -x"
92
+ sh "sudo gem uninstall nokogiri -x"
93
+ sh "sudo gem uninstall #{rexml_spec.name} -x"
90
94
  end
91
95
 
92
- desc 'reinstall gem'
96
+ desc 'reinstall both gems'
93
97
  task :reinstall => [:uninstall, :install]
94
-
98
+
99
+ desc 'push to rubygems.org'
100
+ task :push => [:install] do
101
+ sh "gem push pkg/#{rexml_spec.name}-#{rexml_spec.version}.gem"
102
+ sh "gem push pkg/#{nokogiri_spec.name}-#{nokogiri_spec.version}.gem"
103
+ end
data/lib/atmos/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Atmos
2
2
 
3
3
  # Version number of this library.
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.3"
5
5
 
6
6
  # Array of version strings this library has been tested against.
7
7
  SUPPORTED_VERSIONS = ["1.2.7", "1.3.4", "1.4.0", "1.4.1", "2.0.1"].freeze
@@ -0,0 +1,2 @@
1
+ require 'rubygems'
2
+ require 'atmos'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-atmos
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fleur Dragan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-03 00:00:00 -08:00
18
+ date: 2012-01-05 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -93,6 +93,7 @@ files:
93
93
  - test/files/dragaf-tiny-from-vsphere.ova
94
94
  - test/files/SmallImageForTest.iso
95
95
  - test/files/something.txt
96
+ - test/require_test.rb
96
97
  - test/suite.rb
97
98
  - test/suite_noproxy.rb
98
99
  - test/suite_proxy.rb
@@ -153,6 +154,7 @@ test_files:
153
154
  - test/files/dragaf-tiny-from-vsphere.ova
154
155
  - test/files/SmallImageForTest.iso
155
156
  - test/files/something.txt
157
+ - test/require_test.rb
156
158
  - test/suite.rb
157
159
  - test/suite_noproxy.rb
158
160
  - test/suite_proxy.rb