firebase-cloning-tool 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/firebase-cloning-tool.gemspec +1 -0
- data/lib/firebase/cloning/tool/version.rb +1 -1
- data/lib/firebase/cloning/tool.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd830e3395a0700c4b59c407a11aea3a6703abd5
|
4
|
+
data.tar.gz: d8b23181405ee62f5d077373ce647278efd208a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a97a2b8c338a81524284a8a2eb30d3a784667ceb91b76301ae924a430d14cbca4ec212cc35dfeaa78055f8aea516127a611539db57f31d9d99224bc630bcf0be
|
7
|
+
data.tar.gz: 743d5252ee3a2ac1bc2cb7a3d4f1c1ae4409fa2c2c01e3bab248884639d2706989f18921cff4b4a8dd63f3251444961160d95d8a1f36db8a02868d86241d7676
|
data/README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/firebase/cloning/tool`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
@@ -22,17 +20,30 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
Just run `firebase-cloning-tool` on a terminal and provide the required information.
|
24
|
+
|
25
|
+
$ firebase-cloning-tool
|
26
|
+
|
27
|
+
You will be asked for:
|
28
|
+
|
29
|
+
$ Email: [write your firebase console email]
|
30
|
+
$ Password: [write your firebase console password]
|
31
|
+
$ Source(Project Name, Case sensitive): [Project that will be cloned, this is case sensitive]
|
32
|
+
$ Destination(New Project Name, Case sensitive, Only letters, numbers, spaces, and these characters: -!'") : [Name for the new firebase project]
|
33
|
+
|
34
|
+
### NOTE
|
35
|
+
|
36
|
+
This script doesn't save nor share any data or password, just use the data for accessing to [firebase console](https://console.firebase.google.com/).
|
26
37
|
|
27
38
|
## Development
|
28
39
|
|
29
40
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
41
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
42
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org/gems/firebase-cloning-tool).
|
32
43
|
|
33
44
|
## Contributing
|
34
45
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
46
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/epool/firebase-cloning-tool.
|
36
47
|
|
37
48
|
|
38
49
|
## License
|
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = %q{Tool for cloning firebase remote config projects.}
|
14
14
|
spec.homepage = "https://github.com/epool/firebase-cloning-tool"
|
15
15
|
spec.license = "MIT"
|
16
|
+
spec.required_ruby_version = '>= 2.2.2'
|
16
17
|
|
17
18
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
19
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
@@ -40,7 +40,9 @@ module Firebase
|
|
40
40
|
|
41
41
|
def self.go_to_settings
|
42
42
|
puts 'Going to project settings...'
|
43
|
-
|
43
|
+
wait_until_xpath_present('//button[@aria-label="Settings" and contains(@class, "md-icon-button")]')
|
44
|
+
Capybara.find(:xpath, '//button[@aria-label="Settings" and contains(@class, "md-icon-button")]').click
|
45
|
+
wait_until_xpath_present('//button[@ng-click="controller.navEntryClick(controller.settings)"]')
|
44
46
|
Capybara.find(:xpath, '//button[@ng-click="controller.navEntryClick(controller.settings)"]').click
|
45
47
|
wait_until_xpath_present('//span[@ng-if="::controller.webApiKey"]')
|
46
48
|
puts 'Project settings loaded.'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firebase-cloning-tool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- epool
|
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
141
|
requirements:
|
142
142
|
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
144
|
+
version: 2.2.2
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
147
|
- - ">="
|