potassium 1.2.1 → 1.2.2

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: 1bf9de3b5b4c8ea4ae586b8ae920b4ed048c9e95
4
- data.tar.gz: b412419918408d64783639d1358750649f6e4817
3
+ metadata.gz: bcdad6cfdd3e777734516b13ef96ea0b82fa9248
4
+ data.tar.gz: 175a6c80dd6d5b9b23966ae5141025d585249bd2
5
5
  SHA512:
6
- metadata.gz: 2e9bd1706d30902aba3383e10bd66e3ac845cb8e0f0954286d1aaf7d395cc7500a1a764eada0037fa1e2506582b55a5a397fa969091b1b21186c5d6cfa07149e
7
- data.tar.gz: d7774fae9a5548a833c8d577610e5de95af178f5ab5b8f69962c2b8d7c44986ada511114314adb13cf61607cdd4309e3f2975009336878c05e2f5d5c7c50dc22
6
+ metadata.gz: a19c13e40895153c58d8d8d5c9a3b80311219b9af995059d5ac98deb25167d9152acc8abaa470ffaf7fd062613a8c384b568c883939a206319a8036c47010991
7
+ data.tar.gz: 37644a3e7167d7e43d0f310d05dccf9705304a09d121d04880d2dd6b4f1458d76900019bbd87fade6106018ae00947dd86df210e31c5feeb4a0a8ae3bd0d8216
data/CHANGELOG.md CHANGED
@@ -29,3 +29,8 @@ Chore:
29
29
 
30
30
  Refactor:
31
31
  - Speed up `help` and `version` commands by lazily requiring rails dependencies.
32
+
33
+ ## 1.2.2
34
+
35
+ Fix:
36
+ - Multiple changes to make it work correctly within rubygems.
data/bin/potassium CHANGED
@@ -1,3 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
3
+ $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)
2
4
 
3
5
  require 'potassium/cli'
data/lib/potassium.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'potassium/version'
2
+
3
+ module Potassium
4
+ # Nothing to do here. It's just to allow to do require 'potassium'
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Potassium
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
data/potassium.gemspec CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "bundler", "~> 1.7"
22
- spec.add_runtime_dependency "rake", "~> 10.0"
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_runtime_dependency "gli", "~> 2.12.2"
24
24
  spec.add_runtime_dependency "rails", "~> 4.2"
25
25
  spec.add_runtime_dependency "inquirer", "~> 0.2"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: potassium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - juliogarciag
@@ -17,7 +17,7 @@ dependencies:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.7'
20
- type: :runtime
20
+ type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
@@ -31,7 +31,7 @@ dependencies:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
- type: :runtime
34
+ type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
@@ -96,6 +96,7 @@ files:
96
96
  - Rakefile
97
97
  - bin/potassium
98
98
  - docs/dsl.md
99
+ - lib/potassium.rb
99
100
  - lib/potassium/cli.rb
100
101
  - lib/potassium/cli/commands/create.rb
101
102
  - lib/potassium/template_finder.rb