mingle-macro-development-toolkit 1.3.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/{History.txt → History} +11 -0
- data/{LICENSE.txt → LICENSE} +0 -0
- data/{README.txt → README} +4 -2
- data/Rakefile +15 -40
- data/bin/new_mingle_macro +25 -137
- data/lib/mingle_macro_development_toolkit.rb +4 -0
- data/lib/mingle_macro_development_toolkit/loaders.rb +5 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/base.rb +19 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/card_type_loader.rb +15 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/card_types_loader.rb +10 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/card_types_property_definitions_loader.rb +12 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/project_loader.rb +16 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/project_variables_loader.rb +10 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_definition_loader.rb +16 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_definitions_loader.rb +10 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_values_loader.rb +10 -0
- data/lib/mingle_macro_development_toolkit/loaders/fixture_loaders/team_loader.rb +10 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/base.rb +85 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/card_type_loader.rb +19 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/card_types_loader.rb +14 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/card_types_property_definitions_loader.rb +32 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/project_loader.rb +26 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/project_variables_loader.rb +14 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_definition_loader.rb +20 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_definitions_loader.rb +14 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_values_loader.rb +14 -0
- data/lib/mingle_macro_development_toolkit/loaders/restful_loaders/team_loader.rb +14 -0
- data/templates/Rakefile +23 -0
- data/{getting_started.txt → templates/getting_started.txt} +93 -93
- data/templates/init.rb +1 -0
- data/{example → templates/lib}/macro.rb +0 -0
- data/{test/project_data → templates/test/data/exports}/macro_toolkit_test_template.mingle +0 -0
- data/{test/fixtures/sample → templates/test/data/fixtures}/card_types.yml +0 -0
- data/{test/fixtures/sample → templates/test/data/fixtures}/project_variables.yml +0 -0
- data/{test/fixtures/sample → templates/test/data/fixtures}/projects.yml +0 -0
- data/{test/fixtures/sample → templates/test/data/fixtures}/property_definitions.yml +0 -0
- data/{test/fixtures/sample → templates/test/data/fixtures}/property_type_mappings.yml +0 -0
- data/{test/fixtures/sample → templates/test/data/fixtures}/property_values.yml +0 -0
- data/{test/fixtures/sample → templates/test/data/fixtures}/users.yml +0 -0
- data/{example → templates/test/integration}/integration_test.rb +4 -5
- data/templates/test/integration/integration_test_helper.rb +23 -0
- data/templates/test/test_helper.rb +4 -0
- data/{example → templates/test/unit}/unit_test.rb +7 -7
- data/templates/test/unit/unit_test_helper.rb +13 -0
- data/test/data/exports/macro_toolkit_test_template.mingle +0 -0
- data/test/data/fixtures/card_types.yml +37 -0
- data/test/data/fixtures/project_variables.yml +7 -0
- data/test/data/fixtures/projects.yml +4 -0
- data/test/data/fixtures/property_definitions.yml +51 -0
- data/test/data/fixtures/property_type_mappings.yml +81 -0
- data/test/data/fixtures/property_values.yml +19 -0
- data/test/data/fixtures/users.yml +16 -0
- data/test/integration/integration_test_helper.rb +3 -13
- data/test/integration/{rest_loader_test.rb → restful_loaders_test.rb} +4 -4
- data/test/test_helper.rb +2 -0
- data/test/unit/{fixture_loader_test.rb → fixture_loaders_test.rb} +2 -2
- data/test/unit/unit_test_helper.rb +7 -6
- metadata +101 -100
- data/example/Rakefile +0 -6
- data/example/deploy.rake +0 -10
- data/example/init.rb +0 -10
- data/example/integration_test_helper.rb +0 -31
- data/example/unit_test_helper.rb +0 -13
- data/lib/macro_development_toolkit.rb +0 -29
- data/lib/macro_development_toolkit/mingle/card_type.rb +0 -41
- data/lib/macro_development_toolkit/mingle/card_type_property_definition.rb +0 -26
- data/lib/macro_development_toolkit/mingle/project.rb +0 -168
- data/lib/macro_development_toolkit/mingle/project_variable.rb +0 -24
- data/lib/macro_development_toolkit/mingle/property_definition.rb +0 -105
- data/lib/macro_development_toolkit/mingle/property_value.rb +0 -67
- data/lib/macro_development_toolkit/mingle/user.rb +0 -33
- data/lib/macro_development_toolkit/mingle_model_loader.rb +0 -151
- data/tasks/test.rake +0 -16
- data/test/integration/rest_loader.rb +0 -233
- data/test/unit/fixture_loader.rb +0 -109
data/templates/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
MinglePlugins::Macros.register(<%= macro_class_name %>, '<%= macro_name %>')
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.dirname(__FILE__)
|
1
|
+
require File.join(File.dirname(__FILE__), 'integration_test_helper')
|
2
2
|
|
3
3
|
# The Mingle API supports basic authentication and must be used in order to run integration tests.
|
4
4
|
# However it is disabled in the default configuration. To enable basic authentication,
|
@@ -8,9 +8,9 @@ require File.dirname(__FILE__) + '/integration_test_helper.rb'
|
|
8
8
|
# basic_authentication_enabled: true.
|
9
9
|
|
10
10
|
class <%= macro_class_name %>IntegrationTest < Test::Unit::TestCase
|
11
|
-
|
12
|
-
PROJECT_RESOURCE = 'http://username:password@your.mingle.server:port/lightweight_projects/
|
13
|
-
ANOTHER_PROJECT_RESOURCE = 'http://username:password@your.mingle.server:port/lightweight_projects/
|
11
|
+
|
12
|
+
PROJECT_RESOURCE = 'http://username:password@your.mingle.server:port/api/v2/lightweight_projects/macro_toolkit_test.xml'
|
13
|
+
ANOTHER_PROJECT_RESOURCE = 'http://username:password@your.mingle.server:port/api/v2/lightweight_projects/macro_toolkit_test.xml'
|
14
14
|
|
15
15
|
def test_macro_contents
|
16
16
|
<%= macro_name %> = <%= macro_class_name %>.new(nil, project(PROJECT_RESOURCE), nil)
|
@@ -23,5 +23,4 @@ class <%= macro_class_name %>IntegrationTest < Test::Unit::TestCase
|
|
23
23
|
result = <%= macro_name %>.execute
|
24
24
|
assert result
|
25
25
|
end
|
26
|
-
|
27
26
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
#Copyright 2012 ThoughtWorks, Inc. All rights reserved.
|
2
|
+
|
3
|
+
require File.join(File.dirname(__FILE__), "..", "test_helper")
|
4
|
+
|
5
|
+
class Test::Unit::TestCase
|
6
|
+
|
7
|
+
def project(resource)
|
8
|
+
@projects ||= {}
|
9
|
+
@projects[resource] ||= RESTfulLoaders::ProjectLoader.new(resource, self).project
|
10
|
+
end
|
11
|
+
|
12
|
+
def projects(*resources)
|
13
|
+
resources.collect {|resource| project(resource)}
|
14
|
+
end
|
15
|
+
|
16
|
+
def errors
|
17
|
+
@errors ||= []
|
18
|
+
end
|
19
|
+
|
20
|
+
def alert(message)
|
21
|
+
errors << message
|
22
|
+
end
|
23
|
+
end
|
@@ -1,19 +1,19 @@
|
|
1
1
|
require File.join(File.dirname(__FILE__), 'unit_test_helper')
|
2
2
|
|
3
3
|
class <%= macro_class_name %>Test < Test::Unit::TestCase
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
|
5
|
+
PROJECT = 'scrum_template_2_1'
|
6
|
+
|
7
7
|
def test_macro_contents
|
8
|
-
<%= macro_name %> = <%= macro_class_name %>.new(nil, project(
|
8
|
+
<%= macro_name %> = <%= macro_class_name %>.new(nil, project(PROJECT), nil)
|
9
9
|
result = <%= macro_name %>.execute
|
10
10
|
assert result
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
13
|
def test_macro_contents_with_a_project_group
|
14
|
-
<%= macro_name %> = <%= macro_class_name %>.new(nil, [project(
|
14
|
+
<%= macro_name %> = <%= macro_class_name %>.new(nil, [project(PROJECT), project(PROJECT)], nil)
|
15
15
|
result = <%= macro_name %>.execute
|
16
16
|
assert result
|
17
17
|
end
|
18
18
|
|
19
|
-
end
|
19
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), "..", "test_helper")
|
2
|
+
FixtureLoaders::FIXTURE_PATH = File.join(File.dirname(__FILE__), "..", "data", "fixtures")
|
3
|
+
|
4
|
+
class Test::Unit::TestCase
|
5
|
+
def project(name)
|
6
|
+
@projects ||= {}
|
7
|
+
@projects[name] ||= FixtureLoaders::ProjectLoader.new(name).project
|
8
|
+
end
|
9
|
+
|
10
|
+
def projects(*resources)
|
11
|
+
resources.collect {|resource| project(resource)}
|
12
|
+
end
|
13
|
+
end
|
Binary file
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
- name: Story
|
3
|
+
position: 3
|
4
|
+
color: 'ff3300'
|
5
|
+
id: 339
|
6
|
+
project_id: 78
|
7
|
+
- name: Defect
|
8
|
+
position: 5
|
9
|
+
color: '000599'
|
10
|
+
id: 340
|
11
|
+
project_id: 78
|
12
|
+
- name: Task
|
13
|
+
position: 4
|
14
|
+
color: 'ffe066'
|
15
|
+
id: 341
|
16
|
+
project_id: 78
|
17
|
+
- name: Sprint
|
18
|
+
position: 2
|
19
|
+
color: 'ff0db6'
|
20
|
+
id: 342
|
21
|
+
project_id: 78
|
22
|
+
- name: Release
|
23
|
+
position: 1
|
24
|
+
color: '990024'
|
25
|
+
id: 343
|
26
|
+
project_id: 78
|
27
|
+
- name: Feature
|
28
|
+
position: 6
|
29
|
+
color: '296600'
|
30
|
+
id: 344
|
31
|
+
project_id: 78
|
32
|
+
- name: Epic Story
|
33
|
+
position: 7
|
34
|
+
color: '00d91d'
|
35
|
+
id: 345
|
36
|
+
project_id: 78
|
37
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
- id: 1140
|
3
|
+
name: Status
|
4
|
+
description: ""
|
5
|
+
type_description: Managed text list
|
6
|
+
project_id: 78
|
7
|
+
- id: 1141
|
8
|
+
name: Priority
|
9
|
+
description: ""
|
10
|
+
type_description: Managed text list
|
11
|
+
project_id: 78
|
12
|
+
- id: 1142
|
13
|
+
name: Development Started On
|
14
|
+
description: ""
|
15
|
+
type_description: Managed text list
|
16
|
+
project_id: 78
|
17
|
+
- id: 1143
|
18
|
+
description: ""
|
19
|
+
name: Development Completed On
|
20
|
+
type_description: Date
|
21
|
+
project_id: 78
|
22
|
+
- id: 1144
|
23
|
+
description: ""
|
24
|
+
name: Added On
|
25
|
+
type_description: Date
|
26
|
+
project_id: 78
|
27
|
+
- id: 1145
|
28
|
+
description: ""
|
29
|
+
name: Estimate - Planning
|
30
|
+
type_description: Formula
|
31
|
+
project_id: 78
|
32
|
+
- id: 1146
|
33
|
+
description: ""
|
34
|
+
name: Risk
|
35
|
+
type_description: Managed text list
|
36
|
+
project_id: 78
|
37
|
+
- id: 1147
|
38
|
+
description: ""
|
39
|
+
name: Task Estimate
|
40
|
+
type_description: Managed text list
|
41
|
+
project_id: 78
|
42
|
+
- id: 1148
|
43
|
+
description:
|
44
|
+
name: Estimate - Task
|
45
|
+
type_description: Managed text list
|
46
|
+
project_id: 78
|
47
|
+
- id: 1149
|
48
|
+
description: Individual assigned to a work item
|
49
|
+
name: Owner
|
50
|
+
type_description: User
|
51
|
+
project_id: 78
|
@@ -0,0 +1,81 @@
|
|
1
|
+
---
|
2
|
+
- card_type_id: 342
|
3
|
+
position: 3
|
4
|
+
property_definition_id: 1145
|
5
|
+
id: 2015
|
6
|
+
- card_type_id: 341
|
7
|
+
position: 1
|
8
|
+
property_definition_id: 1145
|
9
|
+
id: 2016
|
10
|
+
- card_type_id: 341
|
11
|
+
position: 2
|
12
|
+
property_definition_id: 1146
|
13
|
+
id: 2017
|
14
|
+
- card_type_id: 341
|
15
|
+
position: 3
|
16
|
+
property_definition_id: 1144
|
17
|
+
id: 2018
|
18
|
+
- card_type_id: 341
|
19
|
+
position: 4
|
20
|
+
property_definition_id: 1141
|
21
|
+
id: 2019
|
22
|
+
- card_type_id: 341
|
23
|
+
position: 6
|
24
|
+
property_definition_id: 1149
|
25
|
+
id: 2021
|
26
|
+
- card_type_id: 341
|
27
|
+
position: 7
|
28
|
+
property_definition_id: 1147
|
29
|
+
id: 2022
|
30
|
+
- card_type_id: 340
|
31
|
+
position: 1
|
32
|
+
property_definition_id: 1145
|
33
|
+
id: 2023
|
34
|
+
- card_type_id: 340
|
35
|
+
position: 2
|
36
|
+
property_definition_id: 1146
|
37
|
+
id: 2024
|
38
|
+
- card_type_id: 340
|
39
|
+
position: 3
|
40
|
+
property_definition_id: 1144
|
41
|
+
id: 2025
|
42
|
+
- card_type_id: 340
|
43
|
+
position: 5
|
44
|
+
property_definition_id: 1141
|
45
|
+
id: 2027
|
46
|
+
- card_type_id: 340
|
47
|
+
position: 7
|
48
|
+
property_definition_id: 1149
|
49
|
+
id: 2029
|
50
|
+
- card_type_id: 339
|
51
|
+
position: 1
|
52
|
+
property_definition_id: 1148
|
53
|
+
id: 2033
|
54
|
+
- card_type_id: 339
|
55
|
+
position: 4
|
56
|
+
property_definition_id: 1145
|
57
|
+
id: 2036
|
58
|
+
- card_type_id: 339
|
59
|
+
position: 5
|
60
|
+
property_definition_id: 1146
|
61
|
+
id: 2037
|
62
|
+
- card_type_id: 339
|
63
|
+
position: 6
|
64
|
+
property_definition_id: 1141
|
65
|
+
id: 2038
|
66
|
+
- card_type_id: 339
|
67
|
+
position: 7
|
68
|
+
property_definition_id: 1140
|
69
|
+
id: 2039
|
70
|
+
- card_type_id: 339
|
71
|
+
position: 8
|
72
|
+
property_definition_id: 1149
|
73
|
+
id: 2040
|
74
|
+
- card_type_id: 339
|
75
|
+
position: 12
|
76
|
+
property_definition_id: 1142
|
77
|
+
id: 2044
|
78
|
+
- card_type_id: 339
|
79
|
+
position: 13
|
80
|
+
property_definition_id: 1143
|
81
|
+
id: 2045
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
- position: 3
|
3
|
+
property_definition_id: 1141
|
4
|
+
color: 'b30600'
|
5
|
+
db_identifier: High
|
6
|
+
url_identifier: High
|
7
|
+
display_value: High
|
8
|
+
- position: 2
|
9
|
+
property_definition_id: 1141
|
10
|
+
color: 'ff6600'
|
11
|
+
db_identifier: Medium
|
12
|
+
url_identifier: Medium
|
13
|
+
display_value: Medium
|
14
|
+
- position: 1
|
15
|
+
property_definition_id: 1141
|
16
|
+
color: 'f1ff26'
|
17
|
+
db_identifier: Low
|
18
|
+
url_identifier: Low
|
19
|
+
display_value: Low
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
- project_id: 78
|
3
|
+
login: groucho
|
4
|
+
name: Groucho Marx
|
5
|
+
version_control_user_name: gmarx
|
6
|
+
email: gmarx@example.com
|
7
|
+
- project_id: 78
|
8
|
+
login: harpo
|
9
|
+
name: Harpo Marx
|
10
|
+
version_control_user_name:
|
11
|
+
email: kmarx@example.com
|
12
|
+
- project_id: 78
|
13
|
+
login: karl
|
14
|
+
name: Karl Marx
|
15
|
+
version_control_user_name: kmarx
|
16
|
+
email: kmarx@example.com
|
@@ -1,16 +1,12 @@
|
|
1
|
-
#Copyright
|
1
|
+
#Copyright 2012 ThoughtWorks, Inc. All rights reserved.
|
2
2
|
|
3
|
-
require
|
4
|
-
require 'test/unit'
|
5
|
-
require 'net/http'
|
6
|
-
require 'macro_development_toolkit'
|
7
|
-
require File.dirname(__FILE__) + '/rest_loader'
|
3
|
+
require File.join(File.dirname(__FILE__), "..", "test_helper")
|
8
4
|
|
9
5
|
class Test::Unit::TestCase
|
10
6
|
|
11
7
|
def project(resource)
|
12
8
|
@projects ||= {}
|
13
|
-
@projects[resource] ||=
|
9
|
+
@projects[resource] ||= RESTfulLoaders::ProjectLoader.new(resource, self).project
|
14
10
|
end
|
15
11
|
|
16
12
|
def projects(*resources)
|
@@ -24,10 +20,4 @@ class Test::Unit::TestCase
|
|
24
20
|
def alert(message)
|
25
21
|
errors << message
|
26
22
|
end
|
27
|
-
|
28
|
-
private
|
29
|
-
|
30
|
-
def load_project_resource(resource)
|
31
|
-
RESTfulLoaders::ProjectLoader.new(resource, self).project
|
32
|
-
end
|
33
23
|
end
|
@@ -1,11 +1,11 @@
|
|
1
|
-
#Copyright
|
1
|
+
#Copyright 2012 ThoughtWorks, Inc. All rights reserved.
|
2
2
|
|
3
|
-
require File.dirname(__FILE__)
|
3
|
+
require File.join(File.dirname(__FILE__), 'integration_test_helper')
|
4
4
|
|
5
5
|
class RestLoaderTest < Test::Unit::TestCase
|
6
6
|
|
7
|
-
TEST_PROJECT = 'http://
|
8
|
-
TEST_PROJECT_V1 = "http://
|
7
|
+
TEST_PROJECT = 'http://admin:p@localhost:8080/api/v2/lightweight_projects/macro_toolkit_test.xml'
|
8
|
+
TEST_PROJECT_V1 = "http://admin:p@localhost:8080/api/v1/lightweight_projects/macro_toolkit_test.xml"
|
9
9
|
|
10
10
|
def test_should_load_direct_project_attributes_from_correct_fixture
|
11
11
|
assert_not_nil project(TEST_PROJECT)
|
data/test/test_helper.rb
ADDED
@@ -1,6 +1,6 @@
|
|
1
|
-
#Copyright
|
1
|
+
#Copyright 2012 ThoughtWorks, Inc. All rights reserved.
|
2
2
|
|
3
|
-
require File.dirname(__FILE__)
|
3
|
+
require File.join(File.dirname(__FILE__), 'unit_test_helper')
|
4
4
|
|
5
5
|
class FixtureLoaderTest < Test::Unit::TestCase
|
6
6
|
|
@@ -1,14 +1,15 @@
|
|
1
|
-
#Copyright
|
1
|
+
#Copyright 2012 ThoughtWorks, Inc. All rights reserved.
|
2
2
|
|
3
|
-
require
|
4
|
-
|
5
|
-
require File.dirname(__FILE__) + '/fixture_loader'
|
3
|
+
require File.join(File.dirname(__FILE__), "..", "test_helper")
|
4
|
+
FixtureLoaders::FIXTURE_PATH = File.join(File.dirname(__FILE__), "..", "data", "fixtures")
|
6
5
|
|
7
6
|
class Test::Unit::TestCase
|
8
|
-
|
9
7
|
def project(name)
|
10
8
|
@projects ||= {}
|
11
9
|
@projects[name] ||= FixtureLoaders::ProjectLoader.new(name).project
|
12
10
|
end
|
13
11
|
|
14
|
-
|
12
|
+
def projects(*resources)
|
13
|
+
resources.collect {|resource| project(resource)}
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mingle-macro-development-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 15
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
|
-
-
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version:
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 2.0.0
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- ThoughtWorks Inc
|
@@ -14,146 +15,146 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
-
default_executable:
|
18
|
+
date: 2012-04-13 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
21
|
+
name: mingle_macro_models
|
22
22
|
prerelease: false
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
24
25
|
requirements:
|
25
26
|
- - "="
|
26
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 19
|
27
29
|
segments:
|
28
|
-
-
|
30
|
+
- 1
|
29
31
|
- 3
|
30
|
-
-
|
31
|
-
version:
|
32
|
+
- 4
|
33
|
+
version: 1.3.4
|
32
34
|
type: :runtime
|
33
35
|
version_requirements: *id001
|
34
36
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
37
|
+
name: activesupport
|
36
38
|
prerelease: false
|
37
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
38
41
|
requirements:
|
39
|
-
- - "
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
segments:
|
42
|
-
- 2
|
43
|
-
- 0
|
44
|
-
- 4
|
45
|
-
version: 2.0.4
|
46
|
-
type: :development
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: gemcutter
|
50
|
-
prerelease: false
|
51
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
segments:
|
56
|
-
- 0
|
57
|
-
- 5
|
58
|
-
- 0
|
59
|
-
version: 0.5.0
|
60
|
-
type: :development
|
61
|
-
version_requirements: *id003
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: hoe
|
64
|
-
prerelease: false
|
65
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
42
|
+
- - "="
|
68
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 9
|
69
45
|
segments:
|
70
46
|
- 2
|
47
|
+
- 3
|
71
48
|
- 5
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
email:
|
78
|
-
- support@thoughtworks.com
|
49
|
+
version: 2.3.5
|
50
|
+
type: :runtime
|
51
|
+
version_requirements: *id002
|
52
|
+
description: This toolkit provides support for developing, testing and deploying custom Mingle macros.
|
53
|
+
email: support@thoughtworks.com
|
79
54
|
executables:
|
80
55
|
- new_mingle_macro
|
81
56
|
extensions: []
|
82
57
|
|
83
|
-
extra_rdoc_files:
|
84
|
-
|
85
|
-
- README.txt
|
86
|
-
- LICENSE.txt
|
87
|
-
- History.txt
|
58
|
+
extra_rdoc_files: []
|
59
|
+
|
88
60
|
files:
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
61
|
+
- bin/new_mingle_macro
|
62
|
+
- History
|
63
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/base.rb
|
64
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/card_type_loader.rb
|
65
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/card_types_loader.rb
|
66
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/card_types_property_definitions_loader.rb
|
67
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/project_loader.rb
|
68
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/project_variables_loader.rb
|
69
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_definition_loader.rb
|
70
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_definitions_loader.rb
|
71
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/property_values_loader.rb
|
72
|
+
- lib/mingle_macro_development_toolkit/loaders/fixture_loaders/team_loader.rb
|
73
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/base.rb
|
74
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/card_type_loader.rb
|
75
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/card_types_loader.rb
|
76
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/card_types_property_definitions_loader.rb
|
77
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/project_loader.rb
|
78
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/project_variables_loader.rb
|
79
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_definition_loader.rb
|
80
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_definitions_loader.rb
|
81
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_values_loader.rb
|
82
|
+
- lib/mingle_macro_development_toolkit/loaders/restful_loaders/team_loader.rb
|
83
|
+
- lib/mingle_macro_development_toolkit/loaders.rb
|
84
|
+
- lib/mingle_macro_development_toolkit.rb
|
85
|
+
- LICENSE
|
93
86
|
- Rakefile
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
- lib/
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
- test/
|
105
|
-
- test/
|
106
|
-
- test/
|
107
|
-
- test/integration/
|
87
|
+
- README
|
88
|
+
- templates/getting_started.txt
|
89
|
+
- templates/init.rb
|
90
|
+
- templates/lib/macro.rb
|
91
|
+
- templates/Rakefile
|
92
|
+
- templates/test/data/exports/macro_toolkit_test_template.mingle
|
93
|
+
- templates/test/data/fixtures/card_types.yml
|
94
|
+
- templates/test/data/fixtures/project_variables.yml
|
95
|
+
- templates/test/data/fixtures/projects.yml
|
96
|
+
- templates/test/data/fixtures/property_definitions.yml
|
97
|
+
- templates/test/data/fixtures/property_type_mappings.yml
|
98
|
+
- templates/test/data/fixtures/property_values.yml
|
99
|
+
- templates/test/data/fixtures/users.yml
|
100
|
+
- templates/test/integration/integration_test.rb
|
101
|
+
- templates/test/integration/integration_test_helper.rb
|
102
|
+
- templates/test/test_helper.rb
|
103
|
+
- templates/test/unit/unit_test.rb
|
104
|
+
- templates/test/unit/unit_test_helper.rb
|
105
|
+
- test/data/exports/macro_toolkit_test_template.mingle
|
106
|
+
- test/data/fixtures/card_types.yml
|
107
|
+
- test/data/fixtures/project_variables.yml
|
108
|
+
- test/data/fixtures/projects.yml
|
109
|
+
- test/data/fixtures/property_definitions.yml
|
110
|
+
- test/data/fixtures/property_type_mappings.yml
|
111
|
+
- test/data/fixtures/property_values.yml
|
112
|
+
- test/data/fixtures/users.yml
|
108
113
|
- test/integration/integration_test_helper.rb
|
109
|
-
- test/integration/
|
110
|
-
- test/
|
111
|
-
- test/
|
112
|
-
- test/
|
113
|
-
|
114
|
-
|
115
|
-
-
|
116
|
-
|
117
|
-
|
118
|
-
- bin/new_mingle_macro
|
119
|
-
- example/Rakefile
|
120
|
-
- example/deploy.rake
|
121
|
-
- example/init.rb
|
122
|
-
- example/macro.rb
|
123
|
-
- example/unit_test.rb
|
124
|
-
- example/unit_test_helper.rb
|
125
|
-
- example/integration_test.rb
|
126
|
-
- example/integration_test_helper.rb
|
127
|
-
has_rdoc: true
|
128
|
-
homepage: http://mingle-macros.rubyforge.org/
|
129
|
-
licenses: []
|
114
|
+
- test/integration/restful_loaders_test.rb
|
115
|
+
- test/test_helper.rb
|
116
|
+
- test/unit/fixture_loaders_test.rb
|
117
|
+
- test/unit/unit_test_helper.rb
|
118
|
+
homepage: https://github.com/ThoughtWorksStudios/mingle_macro_development_toolkit
|
119
|
+
licenses:
|
120
|
+
- MIT
|
121
|
+
post_install_message: "NOTE: This version will only work with Mingle 12.1. For older versions of Mingle, please use version 1.3.3"
|
122
|
+
rdoc_options: []
|
130
123
|
|
131
|
-
post_install_message: getting_started.txt
|
132
|
-
rdoc_options:
|
133
|
-
- --main
|
134
|
-
- README.txt
|
135
124
|
require_paths:
|
136
125
|
- lib
|
137
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
138
128
|
requirements:
|
139
129
|
- - ">="
|
140
130
|
- !ruby/object:Gem::Version
|
131
|
+
hash: 3
|
141
132
|
segments:
|
142
133
|
- 0
|
143
134
|
version: "0"
|
144
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
145
137
|
requirements:
|
146
138
|
- - ">="
|
147
139
|
- !ruby/object:Gem::Version
|
140
|
+
hash: 3
|
148
141
|
segments:
|
149
142
|
- 0
|
150
143
|
version: "0"
|
151
144
|
requirements: []
|
152
145
|
|
153
|
-
rubyforge_project:
|
154
|
-
rubygems_version: 1.
|
146
|
+
rubyforge_project:
|
147
|
+
rubygems_version: 1.8.21
|
155
148
|
signing_key:
|
156
149
|
specification_version: 3
|
157
150
|
summary: This toolkit provides support for developing, testing and deploying custom Mingle macros.
|
158
|
-
test_files:
|
159
|
-
|
151
|
+
test_files:
|
152
|
+
- test/unit/fixture_loaders_test.rb
|
153
|
+
- test/unit/unit_test_helper.rb
|
154
|
+
- test/data/fixtures/card_types.yml
|
155
|
+
- test/data/fixtures/project_variables.yml
|
156
|
+
- test/data/fixtures/projects.yml
|
157
|
+
- test/data/fixtures/property_definitions.yml
|
158
|
+
- test/data/fixtures/property_type_mappings.yml
|
159
|
+
- test/data/fixtures/property_values.yml
|
160
|
+
- test/data/fixtures/users.yml
|