navilocal 0.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/bin/navilocal +34 -0
  3. metadata +101 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 85183511f4e201b3a54fcbac712d78de657c2aad1b973e71f262ad331b3e04fd
4
+ data.tar.gz: cccfaa672853ef75af994456dc120abb93c93dc6734820f8f5ad10910c5d6689
5
+ SHA512:
6
+ metadata.gz: b89c5ac5dbd1bd0cfe3c6b8088cf0c8bf0e5e2b1c749cdd488f2c1c56c3acd3eb07429fdddcd6634e65b84b853cf6ab7e10f53adad462fc7c001daf52eb2f20c
7
+ data.tar.gz: 104de6227b5e945e7130921d4f84e862ec17440d40764fd293a368007b274a0ba4ed75bd4f574f9e0d36b9de97cfd77a9de0361fd9d37a0db0b5521f6125b1ef
data/bin/navilocal ADDED
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'gtk3'
4
+ require 'fileutils'
5
+
6
+
7
+ # Require all ruby files in the application folder recursively
8
+ application_root_path = File.expand_path('.')
9
+ Dir[File.join(application_root_path, '**', 'navi/*.rb')].each { |file| require file }
10
+ Dir[File.join(application_root_path, '**', 'models/*.rb')].each { |file| require file }
11
+
12
+
13
+ # Define the source & target files of the glib-compile-resources command
14
+ resource_xml = File.join(application_root_path, 'resources', 'gresources.xml')
15
+ resource_bin = File.join(application_root_path, 'gresource.bin')
16
+
17
+ # Build the binary
18
+ system("glib-compile-resources",
19
+ "--target", resource_bin,
20
+ "--sourcedir", File.dirname(resource_xml),
21
+ resource_xml)
22
+
23
+ resource = Gio::Resource.load(resource_bin)
24
+ Gio::Resources.register(resource)
25
+
26
+ at_exit do
27
+ # Before existing, please remove the binary we prodNced, thanks.
28
+ FileUtils.rm_f(resource_bin)
29
+ end
30
+
31
+
32
+
33
+ app = NaviClientInstaller::Application.new
34
+ app.run
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: navilocal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Msanjib
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-04-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: gtk3
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.3
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.11.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.11.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: navi_client
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 1.3.9
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.3.9
55
+ - !ruby/object:Gem::Dependency
56
+ name: httparty
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: navilocal
70
+ email: cshanjib@gmail.com
71
+ executables:
72
+ - navilocal
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - bin/navilocal
77
+ homepage: http://rubygems.org/gems/navilocal
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.7.3
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: Navi Local
101
+ test_files: []