diff options
author | Arvin Schnell <aschnell@suse.de> | 2007-08-22 10:57:14 +0000 |
---|---|---|
committer | Arvin Schnell <aschnell@suse.de> | 2007-08-22 10:57:14 +0000 |
commit | 7931dacf208613ebea6679c992db44d6e37dee24 (patch) | |
tree | e031f8c6abd081c958bd8f6e6e3c3c985da8124d /examples | |
parent | 2c7de9f413feb23758b37525092a0ccf5e6d952b (diff) | |
download | libzypp-bindings-7931dacf208613ebea6679c992db44d6e37dee24.tar.gz libzypp-bindings-7931dacf208613ebea6679c992db44d6e37dee24.tar.bz2 libzypp-bindings-7931dacf208613ebea6679c992db44d6e37dee24.zip |
- renamed ruby module to zypp
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ruby/exception.rb | 4 | ||||
-rw-r--r-- | examples/ruby/list_target_resolvables.rb | 4 | ||||
-rw-r--r-- | examples/ruby/mediasetaccess_example.rb | 4 | ||||
-rw-r--r-- | examples/ruby/parse1.rb | 4 | ||||
-rw-r--r-- | examples/ruby/parse2.rb | 4 | ||||
-rw-r--r-- | examples/ruby/play_with_pool_and_target.rb | 5 | ||||
-rw-r--r-- | examples/ruby/play_with_repos.rb | 4 | ||||
-rw-r--r-- | examples/ruby/test.rb | 4 | ||||
-rw-r--r-- | examples/ruby/test2.rb | 6 |
9 files changed, 18 insertions, 21 deletions
diff --git a/examples/ruby/exception.rb b/examples/ruby/exception.rb index daddd51..d797698 100644 --- a/examples/ruby/exception.rb +++ b/examples/ruby/exception.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp tmp_cache_path = TmpDir.new() tmp_raw_cache_path = TmpDir.new() diff --git a/examples/ruby/list_target_resolvables.rb b/examples/ruby/list_target_resolvables.rb index da88a0d..f1d0d9b 100644 --- a/examples/ruby/list_target_resolvables.rb +++ b/examples/ruby/list_target_resolvables.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp z = ZYppFactory::instance.get_zypp # puts z.class diff --git a/examples/ruby/mediasetaccess_example.rb b/examples/ruby/mediasetaccess_example.rb index 424a387..012eddf 100644 --- a/examples/ruby/mediasetaccess_example.rb +++ b/examples/ruby/mediasetaccess_example.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp a = MediaSetAccess.new("http://dist.suse.de/install/stable-x86", "/") p = a.provide_file("/content", 1) diff --git a/examples/ruby/parse1.rb b/examples/ruby/parse1.rb index 3288b25..7d60e55 100644 --- a/examples/ruby/parse1.rb +++ b/examples/ruby/parse1.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp tmp_cache_path = TmpDir.new() tmp_raw_cache_path = TmpDir.new() diff --git a/examples/ruby/parse2.rb b/examples/ruby/parse2.rb index b6240d4..6e08128 100644 --- a/examples/ruby/parse2.rb +++ b/examples/ruby/parse2.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp tmp_cache_path = TmpDir.new() tmp_raw_cache_path = TmpDir.new() diff --git a/examples/ruby/play_with_pool_and_target.rb b/examples/ruby/play_with_pool_and_target.rb index 945424d..6774b86 100644 --- a/examples/ruby/play_with_pool_and_target.rb +++ b/examples/ruby/play_with_pool_and_target.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp z = ZYppFactory::instance.get_zypp @@ -18,4 +18,3 @@ p.each do | pi | exit end - diff --git a/examples/ruby/play_with_repos.rb b/examples/ruby/play_with_repos.rb index 5babf55..c7cdf17 100644 --- a/examples/ruby/play_with_repos.rb +++ b/examples/ruby/play_with_repos.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp a = Arch.new("i386") puts a.to_s diff --git a/examples/ruby/test.rb b/examples/ruby/test.rb index 1ad8b56..4bd1e9a 100644 --- a/examples/ruby/test.rb +++ b/examples/ruby/test.rb @@ -1,6 +1,6 @@ -require 'rzypp' -include Rzypp +require 'zypp' +include Zypp a = Arch.new("i386") puts a.inspect diff --git a/examples/ruby/test2.rb b/examples/ruby/test2.rb index 0056627..ed80741 100644 --- a/examples/ruby/test2.rb +++ b/examples/ruby/test2.rb @@ -1,8 +1,7 @@ -require 'rzypp' +require 'zypp' require 'pathname' - -include Rzypp +include Zypp z = ZYppFactory::instance.get_zypp @@ -16,4 +15,3 @@ puts z.target.class puts t.class #puts t.methods - |