inqlude 0.7.3 → 0.7.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42eb2fbe7c0c0266ecd46ea548e2a53ed0a6fb44
4
- data.tar.gz: 18931162bcdae27f83f037eb192c4a49edc31fb3
3
+ metadata.gz: 0224ffe44586e1ff0a7c20230442433a0143b087
4
+ data.tar.gz: e83375ed1990a411ac5229cd73bb390b029bfda2
5
5
  SHA512:
6
- metadata.gz: 5bfe38ae4b20f8d64d1b6093048bd7d70f7ce6b3344f994b3ec79d33807b5b73f143d973c306090201837d885ef9a28a805bdd0e703c8b89001ec207eb7f3529
7
- data.tar.gz: 7dee6e6df76dcf775e35027200439ad96455551940139e2db91c9f6ee72ce8263964ee23f3f138c7ddba944d19f5c6f9c2c383ca8214ae817c559831b065b649
6
+ metadata.gz: 69fd8daf47555415e889c364aa31465e26664aa8fef2a46a35791f504a721bab8799187f5ee169563130a321e29fec82989337d5a14a5f70f1638da1f5ff2620
7
+ data.tar.gz: 3ae968eb4d5a6d295cff30794cd46f5bc0b8a125d95a6fe20eba188b40421dab480087d6350b5c93caea1504d0fdae99467cf60012da8b7620b461332f58cf60
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log of Inqlude
2
2
 
3
+ ## Version 0.7.4
4
+
5
+ * Support links to OS X packages in manifests
6
+ * Fix search and comments on created web page
7
+
3
8
  ## Version 0.7.3
4
9
 
5
10
  * Fix exit code when `inqlude verify` exits with errors
data/README.md CHANGED
@@ -9,7 +9,7 @@ libraries. A public version of the library runs at http://inqlude.org.
9
9
  Inqlude comes as a Ruby gem, which can easily be installed, and provides a
10
10
  command line interface to handle Qt libraries in a similar way as Ruby gems.
11
11
  There are commands to list available libraries and installed libraries, and
12
- more.
12
+ more.
13
13
 
14
14
  Libraries are described by manifest files, which are maintained in a separate
15
15
  git repository. Inqlude integrates with this git repository and uses it as the
@@ -36,6 +36,8 @@ To checkout all frameworks from source, you can use
36
36
  kde-checkout-list.pl --component=frameworks --clone
37
37
  ```
38
38
 
39
+ from the
40
+ [kde-dev-scripts repository](https://quickgit.kde.org/?p=kde-dev-scripts.git).
39
41
  This creates a `frameworks` directory with a checkout of all git repositories
40
42
  part of [KDE Frameworks](https://projects.kde.org/projects/frameworks).
41
43
 
data/lib/manifest.rb CHANGED
@@ -22,7 +22,7 @@ class Manifest < JsonObject
22
22
 
23
23
  manifest.from_hash(json)
24
24
  end
25
-
25
+
26
26
  def self.parse_schema_version schema_id
27
27
  schema_id =~ /^http:\/\/inqlude\.org\/schema\/(.*)-manifest-v(.*)\#$/
28
28
  type = $1
@@ -60,6 +60,7 @@ class Manifest < JsonObject
60
60
  attribute :openSUSE
61
61
  attribute :windows
62
62
  attribute :ubuntu
63
+ attribute :osx
63
64
  end
64
65
  attribute :group
65
66
 
@@ -177,4 +178,3 @@ class ManifestProprietaryRelease < Manifest
177
178
  true
178
179
  end
179
180
  end
180
-
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Inqlude
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
@@ -3,9 +3,8 @@
3
3
  %meta{ :charset => 'utf-8' }
4
4
  = style_sheet
5
5
  - if enable_search
6
- <link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
7
- <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
8
- <script src="http://www.google.com/jsapi" type="text/javascript"></script>
6
+ <link href='https://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
7
+ <link rel="stylesheet" href="https://www.google.com/cse/style/look/default.css" type="text/css" />
9
8
  %body
10
9
  .ribbon
11
10
  = link_to "Alpha", "about"
@@ -35,7 +34,8 @@
35
34
  = link_to "About", "about"
36
35
  .search
37
36
  - if enable_search
38
- #cse-search-form Loading...
37
+ %gcse:searchbox-only{ resultsUrl: "https://inqlude.org/search.html" }
38
+ Loading...
39
39
  %br{ :clear => "all" }
40
40
 
41
41
  .content
@@ -51,11 +51,13 @@
51
51
 
52
52
  - if enable_search
53
53
  :javascript
54
- google.load('search', '1', {language : 'en'});
55
- google.setOnLoadCallback(function() {
56
- var customSearchControl = new google.search.CustomSearchControl('012526638842992167133:g7thmrlp2uw');
57
- customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
58
- var options = new google.search.DrawOptions();
59
- options.enableSearchboxOnly("#{root}search.html");
60
- customSearchControl.draw('cse-search-form', options);
61
- }, true);
54
+ (function() {
55
+ var cx = '012526638842992167133:g7thmrlp2uw';
56
+ var gcse = document.createElement('script');
57
+ gcse.type = 'text/javascript';
58
+ gcse.async = true;
59
+ gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
60
+ '//cse.google.com/cse.js?cx=' + cx;
61
+ var s = document.getElementsByTagName('script')[0];
62
+ s.parentNode.insertBefore(gcse, s);
63
+ })();
@@ -40,14 +40,15 @@
40
40
  #disqus_thread
41
41
 
42
42
  :javascript
43
- var disqus_shortname = 'inqlude';
43
+ var disqus_config = function () {
44
+ this.page.url = 'http://inqlude.org/libraries/#{m.name}.html';
45
+ this.page.identifier = '#{m.name}';
46
+ };
47
+ (function() {
48
+ var d = document, s = d.createElement('script');
44
49
 
45
- var disqus_identifier = '#{m.name}';
46
- var disqus_url = 'http://inqlude.org/libraries/#{m.name}.html';
50
+ s.src = 'https://inqlude.disqus.com/embed.js';
47
51
 
48
- /* * * DON'T EDIT BELOW THIS LINE * * */
49
- (function() {
50
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
51
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
52
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
52
+ s.setAttribute('data-timestamp', +new Date());
53
+ (d.head || d.body).appendChild(s);
53
54
  })();
@@ -108,12 +108,9 @@ h1 .subtitle {
108
108
  list-style-type: none;
109
109
  }
110
110
 
111
- #cse-search-form {
111
+ .search {
112
112
  width: 250px;
113
113
  }
114
- #cse {
115
- width: 90%;
116
- }
117
114
 
118
115
  .menu_items {
119
116
  color: white;
@@ -133,7 +130,7 @@ h1 .subtitle {
133
130
  padding: 10px;
134
131
  font-family: monospace;
135
132
  margin: 6px;
136
- }
133
+ }
137
134
 
138
135
  .release-date {
139
136
  font-size: 80%;
@@ -1,31 +1,15 @@
1
1
  %h2
2
2
  Search results
3
3
 
4
- #cse
5
- Loading
6
-
4
+ %gcse:searchresults-only
5
+ Loading...
7
6
  :javascript
8
- function parseQueryFromUrl () {
9
- var queryParamName = "q";
10
- var search = window.location.search.substr(1);
11
- var parts = search.split('&');
12
- for (var i = 0; i < parts.length; i++) {
13
- var keyvaluepair = parts[i].split('=');
14
- if (decodeURIComponent(keyvaluepair[0]) == queryParamName) {
15
- return decodeURIComponent(keyvaluepair[1].replace(/\+/g, ' '));
16
- }
17
- }
18
- return '';
19
- }
20
- google.load('search', '1', {language : 'en'});
21
- google.setOnLoadCallback(function() {
22
- var customSearchControl = new google.search.CustomSearchControl('012526638842992167133:g7thmrlp2uw');
23
- customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
24
- var options = new google.search.DrawOptions();
25
- options.enableSearchResultsOnly();
26
- customSearchControl.draw('cse',options);
27
- var queryFromUrl = parseQueryFromUrl();
28
- if (queryFromUrl) {
29
- customSearchControl.execute(queryFromUrl);
30
- }
31
- }, true);
7
+ (function() {
8
+ var cx = '012526638842992167133:g7thmrlp2uw';
9
+ var gcse = document.createElement('script');
10
+ gcse.type = 'text/javascript';
11
+ gcse.async = true;
12
+ gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
13
+ var s = document.getElementsByTagName('script')[0];
14
+ s.parentNode.insertBefore(gcse, s);
15
+ })();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inqlude
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cornelius Schumacher