ai_tagger 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9729be1929249c260b6b2d05db13b354b0e88804
4
- data.tar.gz: 4fa0a061664349b0ba725f85b162f2229f86216d
3
+ metadata.gz: 8238f9500a99cf9cc9962bb121ba13f0caa59d23
4
+ data.tar.gz: b829cbcc93403f0cea58c791b3ddf54cc8243ecf
5
5
  SHA512:
6
- metadata.gz: f4f32573266c872b681368f7636579f671c4a5290f7cf1ef5b1c7d47b751bac5ed307df2b5b9eb6beaea07d9fd09cf6db27ce0fa42ff87455e9070f50611f10a
7
- data.tar.gz: 7a804668d98839195a229c319f0267d900c9f8d82b58132dc236953bab086d37eda16c584301148920a14fb1fc1e742b202ff01ad0960229f5e7dca089f5d043
6
+ metadata.gz: 1b33f4270d63b8d34878887bbf449bc7d7a1d8b0e6e3458fc440ee9b95b75355488f174e8ed55d09b4a10be6468caace7f925536c4900b1f6f249c3eaef131ca
7
+ data.tar.gz: c5551dd89ccb71a9e7d669ee02dbda4611eec11c9e515bb897a95973c25e4e0f34b2f7754213b41ae2b3e504954521006c6606e0f0e14acdcd6f71f7e9dcc763
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ai_tagger (0.1.6)
4
+ ai_tagger (0.1.7)
5
5
  activesupport (~> 4.2.11.1)
6
6
  thor (~> 0.20.3)
7
7
 
@@ -29,9 +29,9 @@ module Tagger
29
29
  def template_file
30
30
  case @platform
31
31
  when :ios
32
- "../templates/AnalyticsEvent.swift.erb"
32
+ "#{Tagger.root}/lib/templates/AnalyticsEvent.swift.erb"
33
33
  when :android
34
- "../templates/AnalyticsEvent.kt.erb"
34
+ "#{Tagger.root}/lib/templates/AnalyticsEvent.kt.erb"
35
35
  end
36
36
  end
37
37
 
@@ -1,3 +1,3 @@
1
1
  module Tagger
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/tagger.rb CHANGED
@@ -12,4 +12,8 @@ require "tagger/cli"
12
12
 
13
13
  module Tagger
14
14
  class Error < StandardError; end
15
+
16
+ def self.root
17
+ File.dirname __dir__
18
+ end
15
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ai_tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dunya Kirkali