synoptic 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +14 -1
- data/Gemfile +2 -2
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/synoptic/version.rb +1 -1
- data/lib/synoptic.rb +0 -6
- data/synoptic.gemspec +13 -20
- metadata +10 -12
- data/bin/synoptic +0 -5
- data/lib/snejinka.png +0 -0
- data/lib/solnyshko.png +0 -0
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 chemt79
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Synoptic
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'synoptic'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install synoptic
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
CHANGED
data/lib/synoptic/version.rb
CHANGED
data/lib/synoptic.rb
CHANGED
@@ -1,9 +1,4 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
1
|
require "synoptic/version"
|
4
|
-
require "net/http"
|
5
|
-
require "nokogiri"
|
6
|
-
require "gtk2"
|
7
2
|
|
8
3
|
module Synoptic
|
9
4
|
def self.on_timer
|
@@ -33,5 +28,4 @@ module Synoptic
|
|
33
28
|
GLib::Timeout.add(5000) { on_timer }
|
34
29
|
Gtk.main()
|
35
30
|
end
|
36
|
-
# Your code goes here...
|
37
31
|
end
|
data/synoptic.gemspec
CHANGED
@@ -1,24 +1,17 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
require "synoptic/version"
|
2
|
+
require File.expand_path('../lib/synoptic/version', __FILE__)
|
4
3
|
|
5
|
-
Gem::Specification.new do |
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
s.summary = %q{Программа для граббинга температуры}
|
12
|
-
s.description = %q{Погода}
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Chemeris P.Taras"]
|
6
|
+
gem.email = ["chemt79@gmail.com"]
|
7
|
+
gem.description = %q{temperature, synoptics}
|
8
|
+
gem.summary = %q{This program may be measure temperature}
|
9
|
+
gem.homepage = "http://synoptic.com"
|
13
10
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
# specify any dependencies here; for example:
|
22
|
-
# s.add_development_dependency "rspec"
|
23
|
-
# s.add_runtime_dependency "rest-client"
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "synoptic"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = Synoptic::VERSION
|
24
17
|
end
|
metadata
CHANGED
@@ -1,34 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synoptic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- Chemeris P.Taras
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-01 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
14
|
+
description: temperature, synoptics
|
15
15
|
email:
|
16
16
|
- chemt79@gmail.com
|
17
|
-
executables:
|
18
|
-
- synoptic
|
17
|
+
executables: []
|
19
18
|
extensions: []
|
20
19
|
extra_rdoc_files: []
|
21
20
|
files:
|
22
21
|
- .gitignore
|
23
22
|
- Gemfile
|
23
|
+
- LICENSE
|
24
|
+
- README.md
|
24
25
|
- Rakefile
|
25
|
-
- bin/synoptic
|
26
|
-
- lib/snejinka.png
|
27
|
-
- lib/solnyshko.png
|
28
26
|
- lib/synoptic.rb
|
29
27
|
- lib/synoptic/version.rb
|
30
28
|
- synoptic.gemspec
|
31
|
-
homepage:
|
29
|
+
homepage: http://synoptic.com
|
32
30
|
licenses: []
|
33
31
|
post_install_message:
|
34
32
|
rdoc_options: []
|
@@ -47,9 +45,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
45
|
- !ruby/object:Gem::Version
|
48
46
|
version: '0'
|
49
47
|
requirements: []
|
50
|
-
rubyforge_project:
|
48
|
+
rubyforge_project:
|
51
49
|
rubygems_version: 1.8.17
|
52
50
|
signing_key:
|
53
51
|
specification_version: 3
|
54
|
-
summary:
|
52
|
+
summary: This program may be measure temperature
|
55
53
|
test_files: []
|
data/bin/synoptic
DELETED
data/lib/snejinka.png
DELETED
Binary file
|
data/lib/solnyshko.png
DELETED
Binary file
|