libFinder 0.1.2 → 0.1.3

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: b61875c3c7b8c9a8ec0192fdb1aadfc3d76000d1
4
- data.tar.gz: f5670ab31f2d9bf50b86808bbf1e462c455de325
3
+ metadata.gz: 6542007aa913dfc08d289f1db022a36a3e1ca51e
4
+ data.tar.gz: 3a6e3baff275553a1658c7aff7092877119fd21e
5
5
  SHA512:
6
- metadata.gz: 1d3e2e3052d90ed97571638df375610219cfd19f7ede4f19df985c62c57ea2df404f9f98eda8aa34f8796d6d73977bf2f80b96fed84571f8c0209194cf3588ab
7
- data.tar.gz: 87331543e40e3168a085550be3cf1789c0ed6a901ff63b9deb0cf1289d7dadbd85c005e89c6099f34d40b051e3c0c0e3002ef28def2fccdeb146c8fdba179f78
6
+ metadata.gz: edcf10804f84e29bb60236ed4be878d96fed8ac36fc4e54aea8d0574c83f2696a4d41c450974d9ef2f2c7be7f4c37f54297c0842b8c5eac2a9aad30789bdd81d
7
+ data.tar.gz: 1abddf91908b2ecd853da96bcf8d9a9388c9bb78c8a2075877c8a25f4a8439c7a3b06895d0d33dee046e8bf07368eced5a8d242691db3ff5fd4d6eb5d408bd56
@@ -1,3 +1,3 @@
1
1
  module LibFinder
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/libFinder.rb CHANGED
@@ -6,10 +6,10 @@ module LibFinder
6
6
  include HTTParty
7
7
  def self.is_rails
8
8
  base_path = Dir.pwd
9
- controllers = File.exist?(base_path+"/controllers")
9
+ controllers = File.exist?(base_path+"/app/controllers")
10
10
  puts base_path+"/controllers"
11
11
  #check if the file has a controllers folder or not
12
- models = File.exist?(base_path+"/models")
12
+ models = File.exist?(base_path+"/app/models")
13
13
  puts base_path+"/models"
14
14
  #check if the file has a models folder or not
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libFinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mody