cogy 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,8 @@ module Cogy
32
32
  expected = {
33
33
  "executable" => "/bin/no",
34
34
  "description" => "Print a foo",
35
- "rules" => ["allow"]
35
+ "rules" => ["allow"],
36
+ "env_vars" => { "COGY_BACKEND" => "http://www.example.com/cogy" }
36
37
  }
37
38
 
38
39
  assert_equal expected, inv["commands"]["say_foo"]
@@ -51,8 +52,6 @@ module Cogy
51
52
  end
52
53
 
53
54
  def test_template
54
- get "/cogy/inventory"
55
-
56
55
  expected = <<TEMPLATE.strip
57
56
  **foo:** ~$results[0].name~
58
57
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cogy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agis Anastasopoulos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,7 +122,6 @@ files:
122
122
  - lib/generators/cogy/templates/cogy_config.rb
123
123
  - lib/generators/cogy/templates/cogy_folder_readme.md
124
124
  - lib/generators/cogy/templates/command_file.rb
125
- - lib/tasks/cogy_tasks.rake
126
125
  - test/dummy/README.rdoc
127
126
  - test/dummy/Rakefile
128
127
  - test/dummy/app/controllers/application_controller.rb
@@ -191,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
190
  version: '0'
192
191
  requirements: []
193
192
  rubyforge_project:
194
- rubygems_version: 2.2.5
193
+ rubygems_version: 2.6.10
195
194
  signing_key:
196
195
  specification_version: 4
197
196
  summary: Develop & deploy Cog commands from your Rails app
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :cogy do
3
- # # Task goes here
4
- # end