inqlude 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -1
- data/lib/manifest.rb +2 -2
- data/lib/version.rb +1 -1
- data/view/layout.html.haml +14 -12
- data/view/library.html.haml +9 -8
- data/view/public/inqlude.css +2 -5
- data/view/search.html.haml +11 -27
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0224ffe44586e1ff0a7c20230442433a0143b087
|
4
|
+
data.tar.gz: e83375ed1990a411ac5229cd73bb390b029bfda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69fd8daf47555415e889c364aa31465e26664aa8fef2a46a35791f504a721bab8799187f5ee169563130a321e29fec82989337d5a14a5f70f1638da1f5ff2620
|
7
|
+
data.tar.gz: 3ae968eb4d5a6d295cff30794cd46f5bc0b8a125d95a6fe20eba188b40421dab480087d6350b5c93caea1504d0fdae99467cf60012da8b7620b461332f58cf60
|
data/CHANGELOG.md
CHANGED
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
data/view/layout.html.haml
CHANGED
@@ -3,9 +3,8 @@
|
|
3
3
|
%meta{ :charset => 'utf-8' }
|
4
4
|
= style_sheet
|
5
5
|
- if enable_search
|
6
|
-
<link href='
|
7
|
-
<link rel="stylesheet" href="
|
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
|
-
|
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
|
-
|
55
|
-
|
56
|
-
var
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
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
|
+
})();
|
data/view/library.html.haml
CHANGED
@@ -40,14 +40,15 @@
|
|
40
40
|
#disqus_thread
|
41
41
|
|
42
42
|
:javascript
|
43
|
-
var
|
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
|
-
|
46
|
-
var disqus_url = 'http://inqlude.org/libraries/#{m.name}.html';
|
50
|
+
s.src = 'https://inqlude.disqus.com/embed.js';
|
47
51
|
|
48
|
-
|
49
|
-
|
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
|
})();
|
data/view/public/inqlude.css
CHANGED
@@ -108,12 +108,9 @@ h1 .subtitle {
|
|
108
108
|
list-style-type: none;
|
109
109
|
}
|
110
110
|
|
111
|
-
|
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%;
|
data/view/search.html.haml
CHANGED
@@ -1,31 +1,15 @@
|
|
1
1
|
%h2
|
2
2
|
Search results
|
3
3
|
|
4
|
-
|
5
|
-
Loading
|
6
|
-
|
4
|
+
%gcse:searchresults-only
|
5
|
+
Loading...
|
7
6
|
:javascript
|
8
|
-
function
|
9
|
-
var
|
10
|
-
var
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
+
})();
|