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 CHANGED
@@ -1,4 +1,17 @@
1
1
  *.gem
2
+ *.rbc
2
3
  .bundle
4
+ .config
5
+ .yardoc
3
6
  Gemfile.lock
4
- pkg/*
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in synoptic.gemspec
4
4
  gemspec
5
5
 
6
6
  gem nokogiri
7
- gem gtk2
7
+ gem gtk2
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
@@ -1 +1,2 @@
1
+ #!/usr/bin/env rake
1
2
  require "bundler/gem_tasks"
@@ -1,3 +1,3 @@
1
1
  module Synoptic
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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
- $:.push File.expand_path("../lib", __FILE__)
3
- require "synoptic/version"
2
+ require File.expand_path('../lib/synoptic/version', __FILE__)
4
3
 
5
- Gem::Specification.new do |s|
6
- s.name = "synoptic"
7
- s.version = Synoptic::VERSION
8
- s.authors = ["chemt79"]
9
- s.email = ["chemt79@gmail.com"]
10
- s.homepage = ""
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
- s.rubyforge_project = "synoptic"
15
-
16
- s.files = `git ls-files`.split("\n")
17
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
- s.require_paths = ["lib"]
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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - chemt79
8
+ - Chemeris P.Taras
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-30 00:00:00.000000000Z
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: synoptic
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
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "synoptic.rb"
4
-
5
- Synoptic::start()
data/lib/snejinka.png DELETED
Binary file
data/lib/solnyshko.png DELETED
Binary file