zen_freshdesk 0.0.5 → 0.0.6
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c95d68d55840f4cc97a8038f84c57ea5e7baab65
|
|
4
|
+
data.tar.gz: 76aacbbda58c060349fd116c188a65d828c3c6cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd939ff44270564a650b7e24bf155eb79acb663b17432791c9bc375bfa1d9de160b44801fa0ec8cdd827912b663212461bc022c0fe468a0b76e1f003e3d1e910
|
|
7
|
+
data.tar.gz: b50722ff8ede3d837b98ae530cfd13bfadd42cfea4489351836a186d648674e69391c2baa04dabad2e4da384633183b00a468c58e6f2c5910c5706e78a040706
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
require 'thor'
|
|
2
|
+
require 'thor/group'
|
|
3
|
+
|
|
4
|
+
module ZenFreshdesk
|
|
5
|
+
class InstallGenerator < Rails::Generators::Base
|
|
6
|
+
include Thor::Actions
|
|
7
|
+
source_root File.expand_path("../templates", __FILE__)
|
|
8
|
+
|
|
9
|
+
def create_initializer
|
|
10
|
+
template 'initializer.rb.erb', 'config/initializers/zen_freshdeskkkkk.rb'
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
ZenFreshdesk.configure do |config|
|
|
2
|
+
config.api_key = "UPf8ktY8VePpIOQPsNsq"
|
|
3
|
+
|
|
4
|
+
config.uri_api = "http://chinh.freshdesk.com/helpdesk/tickets.json?tags=test"
|
|
5
|
+
|
|
6
|
+
config.projects = ""
|
|
7
|
+
|
|
8
|
+
config.requester_id = "1"
|
|
9
|
+
|
|
10
|
+
config.submitter_id = ""
|
|
11
|
+
|
|
12
|
+
config.responder_id = "3"
|
|
13
|
+
|
|
14
|
+
config.subject = "chinh Support needed.."
|
|
15
|
+
|
|
16
|
+
config.description = "chinh Some details on the issue ..."
|
|
17
|
+
|
|
18
|
+
config.email = "tom@outerspace.com"
|
|
19
|
+
|
|
20
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zen_freshdesk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hoangtrungchinh
|
|
@@ -50,6 +50,8 @@ files:
|
|
|
50
50
|
- LICENSE.txt
|
|
51
51
|
- README.md
|
|
52
52
|
- Rakefile
|
|
53
|
+
- lib/generators/zen_freshdesk/install/install_generator.rb
|
|
54
|
+
- lib/generators/zen_freshdesk/install/templates/initializer.rb.erb
|
|
53
55
|
- lib/zen_freshdesk.rb
|
|
54
56
|
- lib/zen_freshdesk/version.rb
|
|
55
57
|
- zen_freshdesk.gemspec
|