ever2boost icon indicating copy to clipboard operation
ever2boost copied to clipboard

generate json pretty

Open narukami894 opened this issue 7 years ago • 4 comments

Hello, thank you for creating nice app and import tool! I fixed json_generator.rb to build boostnote.json as same as Boostnote itself by using JSON.pretty_generate, and replace the order of json keys.

before:

{"folders":[{"key":"xxxx","name":"myFolderName","color":"#B013A4"},{"key":"yyyy","name":"myFolderName2","color":"#FF8E00"},(...)],"version":"1.0"}

after:

{
  "folders": [
    {
      "key": "xxxx",
      "color": "#3FD941",
      "name": "myFolderName"
    },
    {
      "key": "yyyy",
      "color": "#2BA5F7",
      "name": "myFolderName2"
    },
    (...)
  ],
  "version": "1.0"
}

narukami894 avatar Feb 27 '18 11:02 narukami894

GOSH. I don't have merge authorization...

asmsuechan avatar Mar 23 '18 11:03 asmsuechan

Excuse me, @Rokt33r. Will you please merge opening 2 PRs and remove this line https://github.com/BoostIO/ever2boost/blob/17be2a81f00b928175ea08aaaa37d488d9a72ba9/.travis.yml#L7?

The reason why I tried to support even Ruby2.0 is that because it's pre-installed version of Ruby on macOS. So I'd say it's not good to remove compatibility with it.

asmsuechan avatar Mar 23 '18 11:03 asmsuechan

@asmsuechan I've invited you as an admin to this repository. Check your e-mail. 😄

Rokt33r avatar Mar 23 '18 17:03 Rokt33r

@opengift-io has started working. Visit this issue on Issuehunt

IssueHuntBot avatar Jun 21 '18 12:06 IssueHuntBot