openwsman 2.5.2 → 2.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 863a157db8977112dd862c430f9f8ae8348fa448
4
- data.tar.gz: 7d78155cf5883a0bdc1f4d83a14f4c20dbe94a9b
3
+ metadata.gz: df9a1156eb1b2b58f4e0547bf8d5c97454de07ca
4
+ data.tar.gz: 8b6d4bc183caccec1757cb64a0a1332f2aa462e6
5
5
  SHA512:
6
- metadata.gz: 87a91cb1af88c6a4cb74f6367791a8bcf7c863aa49ab5f9fc06044fe0345ecce65a7b87a58514c98cf8dad6e9dfafaf396822d9ddd6adeec5663ab2f9e79b081
7
- data.tar.gz: 103cbaf1914d50d0693232cba422ba9880e2db2860d0c8c2977ff8117e392034e185d4802c047063246e945459f66da5ef0bd9c54e823f93ddac5221e3856949
6
+ metadata.gz: 52a89c555ddebcc941b5fe75aeadd1dbbb4f48d0d016ab22d20009537384b213642497126d5812c305727b6e6c6174ee9ceab8544f8957964af05ed05dd35fff
7
+ data.tar.gz: 56456c8154dff23b22e492d47374c884fd3c2f0c74000bffe7c28dfe38fbfc5f8ecc112a35d0912edf21f5942776c1c20fb4516fe962afc86f1ddf9300518e96
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  #define OPENWSMAN_MAJOR 2
8
- #define OPENWSMAN_MINOR 5
9
- #define OPENWSMAN_PATCH 2
10
- #define OPENWSMAN_VERSION "2.5.2"
8
+ #define OPENWSMAN_MINOR 6
9
+ #define OPENWSMAN_PATCH 0
10
+ #define OPENWSMAN_VERSION "2.6.0"
11
11
 
@@ -626,4 +626,29 @@ typedef struct {} client_opt_t;
626
626
  return $self->delivery_sec_mode;
627
627
  }
628
628
 
629
+ #if defined(SWIGRUBY)
630
+ %rename("locale=") set_locale(const char *locale);
631
+ #endif
632
+ /*
633
+ * Set request locale
634
+ *
635
+ * call-seq:
636
+ * options.locale = "en_us"
637
+ *
638
+ */
639
+ void set_locale(const char *locale) {
640
+ wsmc_set_locale($self, locale);
641
+ }
642
+
643
+ /*
644
+ * Get locales
645
+ *
646
+ * call-seq:
647
+ * options.locale -> String
648
+ *
649
+ */
650
+ const char *locale() {
651
+ return $self->locale;
652
+ }
653
+
629
654
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openwsman
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.2
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaus Kämpf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-03 00:00:00.000000000 Z
11
+ date: 2015-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler